Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Conversation

laiqun
Copy link

@laiqun laiqun commented May 11, 2018

convert bytes to String

convert bytes to String
@mishbahr
Copy link
Owner

Why is this necessary?

EmailActivationTokenGenerator is roughly based on django PasswordResetTokenGenerator

See https://github.com/django/django/blob/master/django/contrib/auth/tokens.py

They don't seem to force token to be a string.

@laiqun
Copy link
Author

laiqun commented May 12, 2018

If don't have it,will raise reverse error in my environment.

@mishbahr
Copy link
Owner

Please can you post the full traceback?

@laiqun
Copy link
Author

laiqun commented Sep 24, 2018

sorry ,this fix have problem
the correct is 'uid':str(...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants