[Fixed]-Python_Django – Adding Attending Event option – How to?

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!

Leave a comment