[Django]-Reverse {% url %}: Reverse for '"' not found. '' is not a valid view function or pattern name

3👍

If you want to use URL tag on that way, you need a namespace in your urls.py.

url(r"^book/", include("bookings.urls", namespace="bookings")),

Then you can have {% url 'bookings:charge' %} in your template.

👤Goran

Leave a comment