4👍
✅
You didn’t define activity_thumbnail
in your urls.py
urls.py:
from views import activity_thumbnail
urlpatterns = patterns('',
url('^activity_thumbnail/$', activity_thumbnail, name='activity_thumbnail')
)
That might seem a bit redundant, but it gives you more freedom in mapping your views into urls.
Source:stackexchange.com