Debug check already exists in the main url file. No need to check here again.

This commit is contained in:
Demetris Stavrou 2018-11-01 13:40:10 +02:00
parent e4501ab7ff
commit 820ccd2fb6

View File

@ -9,9 +9,6 @@ from {{ cookiecutter.project_slug }}.users.views import (
)
app_name = "users"
urlpatterns = []
if settings.DEBUG:
urlpatterns += [
path("", view=user_list_view, name="list"),
path("~redirect/", view=user_redirect_view, name="redirect"),