Я делаю приложение рекомендателя фильма.Эта ошибка возникает при поиске фильма в views.py.
views.py
data = post_data.get('data', None)
if data:
return redirect('%s?%s' % (reverse('books_recsys_app.views.home'),urllib.urlencode({'q': data})))
urls.py
app_name = "books_recsys_app"
urlpatterns = [
url(r'^docs/', include('rest_framework_swagger.urls')),
url(r'^$', books_recsys_app.views.home, name='home'),
url(r'^auth/', books_recsys_app.views.auth, name='auth'),
url(r'^signout/',books_recsys_app.views.signout,name='signout'),
url(r'^rate_movie/',books_recsys_app.views.rate_movie,name='rate_movie'),
url(r'^movies-recs/',books_recsys_app.views.movies_recs,name='movies_recs'),
# url(r'^admin/', include(admin.site.urls)),
url(r'^admin/', admin.site.urls),
url(r'^users-list/',UsersList.as_view(),name='users-list')
]