Skip to content

Commit

Permalink
Explicitly added application namespace to urls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
evildmp committed Jun 6, 2018
1 parent 87e8f5f commit b89f59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polls/urls.py
Expand Up @@ -3,7 +3,7 @@

from . import views


app_name = "polls"
urlpatterns = [
url(r'^$', views.IndexView.as_view(), name='index'),
url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'),
Expand Down

0 comments on commit b89f59b

Please sign in to comment.