Signup tweaks¶
Here are some tips and tweaks for django-sitegate signup flows.
Sending confirmation email for email-aware signups¶
By default email-aware signup flows do not ask a user to verify his email address, to change this behaviour you need to take some additional steps:
Note
This feature depends upon django-sitemessage.
Make sure it is installed and configured to use SMTP.
Note
This feature also depends upon Django Messages Contrib. Make sure it is available.
-
Either override
verify_emailflow class attribute or provideverify_emailkeyword attribute tosignup_viewdecorator: -
Attach sitegate urls to urlpatterns of your project (
urls.py): -
You're done. Upon registration user will be notified he needs to confirm his email address.
An email with account activation link will be sent by django-sitemessage.