mirror of
https://github.com/Crocmagnon/cookiecutter-django.git
synced 2024-11-23 15:18:03 +01:00
Cleanup remove old names
This commit is contained in:
parent
607592801d
commit
2064adb9e6
2 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,6 @@ from django.contrib.auth.models import AbstractUser
|
||||||
|
|
||||||
|
|
||||||
class User(AbstractUser):
|
class User(AbstractUser):
|
||||||
"""Default custom user model for My Awesome Project."""
|
"""Default custom user model for {{ cookiecutter.project_name }}."""
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -11,7 +11,7 @@ Class-based views
|
||||||
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
|
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
|
||||||
Including another URLconf
|
Including another URLconf
|
||||||
1. Import the include() function: from django.urls import include, path
|
1. Import the include() function: from django.urls import include, path
|
||||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
2. Add a URL to urlpatterns: path('{{cookiecutter.project_slug}}/', include('{{cookiecutter.project_slug}}.urls'))
|
||||||
"""
|
"""
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.conf.urls.static import static
|
from django.conf.urls.static import static
|
||||||
|
|
Loading…
Reference in a new issue