diff options
author | clarkzjw <[email protected]> | 2023-02-21 16:46:11 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-21 16:46:11 -0800 |
commit | 22fb6a357f1b6b91f04a180604e2f992280ee661 (patch) | |
tree | 0ed80d12ac41475138077891ffea0bb78fe392cb /checkin | |
parent | 0ce8037dcb01745edc9930b09e72bf7ea4dfcf4e (diff) | |
download | swarm2fediverse-feature/django.tar.gz |
add django app templatefeature/django
Diffstat (limited to 'checkin')
-rw-r--r-- | checkin/settings.py | 2 | ||||
-rw-r--r-- | checkin/urls.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/checkin/settings.py b/checkin/settings.py index 6fa12a2..8d74770 100644 --- a/checkin/settings.py +++ b/checkin/settings.py | |||
@@ -31,6 +31,7 @@ ALLOWED_HOSTS = [] | |||
31 | # Application definition | 31 | # Application definition |
32 | 32 | ||
33 | INSTALLED_APPS = [ | 33 | INSTALLED_APPS = [ |
34 | 'bot.apps.BotConfig', | ||
34 | 'django.contrib.admin', | 35 | 'django.contrib.admin', |
35 | 'django.contrib.auth', | 36 | 'django.contrib.auth', |
36 | 'django.contrib.contenttypes', | 37 | 'django.contrib.contenttypes', |
@@ -99,6 +100,7 @@ AUTH_PASSWORD_VALIDATORS = [ | |||
99 | }, | 100 | }, |
100 | ] | 101 | ] |
101 | 102 | ||
103 | AUTH_USER_MODEL = 'bot.User' | ||
102 | 104 | ||
103 | # Internationalization | 105 | # Internationalization |
104 | # https://docs.djangoproject.com/en/4.1/topics/i18n/ | 106 | # https://docs.djangoproject.com/en/4.1/topics/i18n/ |
diff --git a/checkin/urls.py b/checkin/urls.py index a173748..4f9cbe8 100644 --- a/checkin/urls.py +++ b/checkin/urls.py | |||
@@ -14,8 +14,9 @@ Including another URLconf | |||
14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) | 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) |
15 | """ | 15 | """ |
16 | from django.contrib import admin | 16 | from django.contrib import admin |
17 | from django.urls import path | 17 | from django.urls import path, include |
18 | 18 | ||
19 | urlpatterns = [ | 19 | urlpatterns = [ |
20 | path('bot/', include('bot.urls')), | ||
20 | path('admin/', admin.site.urls), | 21 | path('admin/', admin.site.urls), |
21 | ] | 22 | ] |