2👍
✅
The mistake is in this line
url(r'^common/$',CommonView),
you have to use
url(r'^common/$',CommonView.as_view()),
you forgot to add as_view()
with your class based view while calling it from urls
Source:stackexchange.com