diff options
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 | ] |