Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable email activation in django-registration app?

Tags:

django

How to disable email activation in django-registration app?

like image 865
anhtran Avatar asked Dec 03 '09 09:12

anhtran


1 Answers

In the current tip versions of django-registration there is a simple backend with no email and you can write your own backend to specify the workflow you want. See here https://bitbucket.org/ubernostrum/django-registration/src/fad7080fe769/docs/backend-api.rst for documentation.

To use the simple one without email, just change your urls.py to point to this backend, eg.

   (r'^accounts/', include('registration.backends.simple.urls')),    
like image 124
PhoebeB Avatar answered Oct 21 '22 00:10

PhoebeB