[Answer]-Django urls.py only one app

1👍

Just remove the polls/ prefix in the regex of the “include” url:

urlpatterns = patterns('',
    url(r'^', include('polls.urls', namespace="polls")),
    ...
)

Leave a comment