NoReverseMatch at /accounts/login/ Reverse for 'index' with arguments '()' and keyword arguments '{}' not found.

2013-05-10 Thread Hu Shizhi
Hi, I am new to Django and am using django-registration and followed the quickstart.rst document and get the following. Could anyone kindly help? Thanks, Tian NoReverseMatch at /accounts/login/ Reverse for 'index' with arguments '()' and keyword arguments '{}' not found. Request Method:GETRe

Re: NoReverseMatch at /accounts/login/ Reverse for 'index' with arguments '()' and keyword arguments '{}' not found.

2013-05-10 Thread Hu Shizhi
url(r'^admin/', include(admin.site.urls)), ) On Friday, May 10, 2013 11:22:08 PM UTC+8, C. Kirby wrote: > > Do you have a urls.py file? To used the url tag with a name you need to > have a defined url with that name, example: > > urlp

Re: NoReverseMatch at /accounts/login/ Reverse for 'index' with arguments '()' and keyword arguments '{}' not found.

2013-05-11 Thread Hu Shizhi
w-style url template tag like so: > > {% load url form future %} > ... > {% url 'index' %} > ... > > On Saturday, May 11, 2013 5:14:02 AM UTC+4, Hu Shizhi wrote: >> >> My urls.py: >> >> from django.con