Hey,
Try by giving forward slashes(/) at the end of the each urls instead of using backward slashes like...
Do as -
register/
login/customer/
I think It will work....
On Tue, 27 Aug, 2019, 3:16 AM James Schneider, <jrschneider83@gmail.com> wrote:
--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.
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/CAGHZBzxyHHvFjaKKiwesxgO3K%3DLk9BLNEnUgwuH%3Dd%3Dc8xFSJPg%40mail.gmail.com.
No comments:
Post a Comment