[Django]-Caught ViewDoesNotExist while rendering

0👍

I have had similar errors reporting on {% url password_reset_link %} before – is that the first {% url %} in your template by any chance?

It looks as if that view is being imported somewhere (perhaps elsewhere from the urls.py?). Have you imported that view into another views.py file for example?). A quick way to find files containing this is to use grep (on Linux/Mac) at a command line in your site root:

$ grep -r "my_view_two" .

This will search for that string in all files of your project (if I’ve understood you correctly, it shouldn’t be there).

👤mfitzp

Leave a comment