1👍
This pattern, the one you’re going for, requires a trailing slash.
url(r'^(?P<msg_id>\d+)/$', views.detail, name='detail'),
The URL you’re using, sendemail/1
, doesn’t have one.
Source:stackexchange.com
1👍
This pattern, the one you’re going for, requires a trailing slash.
url(r'^(?P<msg_id>\d+)/$', views.detail, name='detail'),
The URL you’re using, sendemail/1
, doesn’t have one.