Opened 11 years ago
Closed 11 years ago
#22287 closed Cleanup/optimization (invalid)
Add method to RegistrationProfile to verify if the user has activated
Description ¶
Currently the only way of doing this is by doing something like: profile.activation_key == u"ALREADY_ACTIVATED"
This hard coded constant and checking is not really nice.
A method "has_been_activated" could enclose this verification.
Change History (2)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Hi - thanks for the report! But there is no
RegistrationProfile
class in Django. It seems that your report is related not to code in Django core, but in the third-party django-registration app: https://bitbucket.org/ubernostrum/django-registration/