mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Remove redundant comments
Thought these comments seemed unnecessary.
This commit is contained in:
parent
84ee2fc5ec
commit
bf6d6b741c
|
@ -6,28 +6,21 @@ from django.conf.urls import url
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
# URL pattern for the UserListView
|
|
||||||
url(
|
url(
|
||||||
regex=r'^$',
|
regex=r'^$',
|
||||||
view=views.UserListView.as_view(),
|
view=views.UserListView.as_view(),
|
||||||
name='list'
|
name='list'
|
||||||
),
|
),
|
||||||
|
|
||||||
# URL pattern for the UserRedirectView
|
|
||||||
url(
|
url(
|
||||||
regex=r'^~redirect/$',
|
regex=r'^~redirect/$',
|
||||||
view=views.UserRedirectView.as_view(),
|
view=views.UserRedirectView.as_view(),
|
||||||
name='redirect'
|
name='redirect'
|
||||||
),
|
),
|
||||||
|
|
||||||
# URL pattern for the UserDetailView
|
|
||||||
url(
|
url(
|
||||||
regex=r'^(?P<username>[\w.@+-]+)/$',
|
regex=r'^(?P<username>[\w.@+-]+)/$',
|
||||||
view=views.UserDetailView.as_view(),
|
view=views.UserDetailView.as_view(),
|
||||||
name='detail'
|
name='detail'
|
||||||
),
|
),
|
||||||
|
|
||||||
# URL pattern for the UserUpdateView
|
|
||||||
url(
|
url(
|
||||||
regex=r'^~update/$',
|
regex=r'^~update/$',
|
||||||
view=views.UserUpdateView.as_view(),
|
view=views.UserUpdateView.as_view(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user