Using the URLconf defined in
bnt.urls
, Django tried these URL patterns, in this order:
- admin/
- [name='home']
- /login [name='clogin']
- /login/customer [name='cpage']
- /register [name='cregister']
- /register/customer [name='cpage']
The current path,
register
, didn't match any of these.
I'm assuming your template has a typo in the {% url %} tag referencing 'register' instead of 'cregister'.
The rest of the error page should indicate the line that is making the URL name resolution call.
-James
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciWdirAoL_xMRJEdD%3DRY6omVH4UC6xsFFb4RfH747LaSNA%40mail.gmail.com.
No comments:
Post a Comment