1👍
✅
The solution was in my urls.py file:
Previous value:
url(r'^post/(?P<pk>\d+)/$', views.event_attendance, name='event_attendance')
New value:
url(r'^post/(?P<pk>\d+)/attendance/$', views.event_attendance, name='event_attendance')
Maybe it is going to server someone in the future!
Source:stackexchange.com