[Fixed]-NoReverseMatch, why django doesn't find the url?

1👍

That would be because this line

url(r'^base/$', include('django.contrib.flatpages.urls'), name='base-home'),

doesn’t actually resolve to a view. Instead it is an include statement.

See How can I get the reverse url for a Django Flatpages template

👤kdopen

Leave a comment