Clone of Django Resgistration flow for Django Rest Framework
StackOverflow answer http://stackoverflow.com/a/19337404
and
django-registration https://django-registration.readthedocs.org/
$ git clone git@github.com:tucarga/django-registration-rest-framework.git
$ pip install -e django-registration-rest-framework
INSTALLED_APPS =
...
'registration_api',
...
# This setting is mandatory
REGISTRATION_API_ACTIVATION_SUCCESS_URL = '/'
urls.py
urlpatterns = patterns(
...
url(r'^accounts_api/', include('registration_api.urls')),
...
)
$ python tests/runtests.py [TestsCase[.test_method]]
or:
$ python setup.py test