I am getting a bit of a problem with django-registration
Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius
-- django-registration was installed in a venv using pip. I have version 1.0 of django-registration and 1.5.1 of Django . I have the templates/registration directory with the templates for the pages that are to display the different pages.
login, logout, register work fine. Proper templates get picked up - and I have modified them according to my needs.
However, now I am trying to loop in the password reset functionality. However, when I hit the URL http://127.0.0.1:8000/accounts/password/reset/ it is picking up the default django admin reset url. I cant get this to pickup my templates. Following are my settings:
in settings.py :
INSTALLED_APPS = (
'registration',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
...
)
in urls.py
urlpatterns = patterns('',
#django-registration
url(r'^accounts/',include('registration.backends.default.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
...
)
what else do i need to do ? As per the django-registration documentation, the auth_urls.py is supposed to be automatically included with the default backend. But apparently, there is some disconnect here.
Regards,
Vibhu
-- Simplicity is the ultimate sophistication. - Leonardo da Vinci
Life is really simple, but we insist on making it complicated. - Confucius
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment