aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-21 16:46:11 -0800
committerclarkzjw <[email protected]>2023-02-21 16:46:11 -0800
commit22fb6a357f1b6b91f04a180604e2f992280ee661 (patch)
tree0ed80d12ac41475138077891ffea0bb78fe392cb /checkin
parent0ce8037dcb01745edc9930b09e72bf7ea4dfcf4e (diff)
downloadswarm2fediverse-22fb6a357f1b6b91f04a180604e2f992280ee661.tar.gz
add django app templatefeature/django
Diffstat (limited to 'checkin')
-rw-r--r--checkin/settings.py2
-rw-r--r--checkin/urls.py3
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
33INSTALLED_APPS = [ 33INSTALLED_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
103AUTH_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"""
16from django.contrib import admin 16from django.contrib import admin
17from django.urls import path 17from django.urls import path, include
18 18
19urlpatterns = [ 19urlpatterns = [
20 path('bot/', include('bot.urls')),
20 path('admin/', admin.site.urls), 21 path('admin/', admin.site.urls),
21] 22]
Powered by cgit v1.2.3 (git 2.41.0)