From 2064adb9e67c02a4bfe0188dee638dad7338daa1 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 27 Jan 2023 10:58:09 +0100 Subject: [PATCH] Cleanup remove old names --- {{cookiecutter.project_slug}}/src/common/models.py | 2 +- .../src/{{cookiecutter.project_slug}}/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/src/common/models.py b/{{cookiecutter.project_slug}}/src/common/models.py index dab8651..8b6aec3 100644 --- a/{{cookiecutter.project_slug}}/src/common/models.py +++ b/{{cookiecutter.project_slug}}/src/common/models.py @@ -2,6 +2,6 @@ from django.contrib.auth.models import AbstractUser class User(AbstractUser): - """Default custom user model for My Awesome Project.""" + """Default custom user model for {{ cookiecutter.project_name }}.""" pass diff --git a/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/urls.py b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/urls.py index 7b05a0a..0e07d66 100644 --- a/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/urls.py +++ b/{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/urls.py @@ -11,7 +11,7 @@ Class-based views 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') Including another URLconf 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.urls.static import static