Tivix/django-rest-auth — pull request #35 by jmb (2014-12-04 17:42:46+00:00)
Title: Demo fixes

When I tried to run the demo app, I came across a few problems.

I think the allauth.urls need to be included and the email verification url reference in the template fragment was named wrongly - this caused problems when adding a user and trying to verify their email. I think the settings file also needs to allow TokenAuthentication.

I hope this pull request fixes these issues, but I'm not entirely sure the demo is 100% correct - please can someone experiment with the before and after on a fresh install before accepting the pull? Comments welcome!

The email sent when adding a user uses the url `http://127.0.0.1:8000/account/confirm-email/.../` but when requesting a password reset uses `http://example.com/password-reset/confirm/../.../` (presumably from the sites app). I think this is the division between allauth and rest-auth, but I don't know how to fix.