mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 22:44:54 +03:00
Debug check already exists in the main url file. No need to check here again.
This commit is contained in:
parent
e4501ab7ff
commit
820ccd2fb6
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user