[Fixed]-Django NoReverseMatch using templates (again)

1👍

This is your URL definition.

r'^(?P<category_name>[a-zA-Z_]+)/(?P<subcategory_name>[a-zA-Z_]+)/(?P<information_name>[a-zA-Z_]+)/$',
    views.view_information, name='information'),

As far as I can see it does not allow spaces in the url. But you apparently do have a space in one of your values

'{'category_name': 'Physics', 'information_name': 'Test info', 'subcategory_name': 'a'}'
👤e4c5

Leave a comment