Add method to RegistrationProfile to verify if the user has activated
|Reported by:||david.anderson.lino@…||Owned by:||anonymous|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 13 months ago by anonymous
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to anonymous
- Patch needs improvement unset
- Status changed from new to assigned