1👍
✅
I guess you’re missing the ‘blog’ argument from your path. Furthermore, I always recommend to try to be restrictive with the allowed characters, since you exactly know what you can expect to receive in your url. I don’t know how you imported ‘detail’, but you probably want to refer to it as something like ‘application.views.detail’. Named arguments make sure that you can easily change the order of arguments in the future.
I guess something like this should work:
(r'^blog/(?P<year>([0-9]{4}))/(?P<month>\d{1,2})/(?P<path>[a-zA-Z0-9-]+)/$', 'application.views.detail'),
Otherwise, I’d suggest checking whether the url you have created matches the urls Django provides with the error message.
Source:stackexchange.com