Monday, August 26, 2019

Re: page not found but url exists




Using the URLconf defined in bnt.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. [name='home']
  3. /login [name='clogin']
  4. /login/customer [name='cpage']
  5. /register [name='cregister']
  6. /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