[Django]-Reverse for 'index' not found. 'index' is not a valid view function or pattern name

4👍

You’ve namespaced your app urls, so you need to use that namespace when reversing them:

reverse('vehicle_movement:index')

But you’ve also got two paths with the same name in your app urls, which will cause conflicts, if not an error. Delete one of them.

0👍

Check name="htmlfilename" in app urls is correct or not.

Leave a comment