Added main page. Added links page

This commit is contained in:
2022-07-11 17:08:47 +03:00
parent a8f86ef882
commit 0a3c0e1e50
28 changed files with 504 additions and 18 deletions
+3 -1
View File
@@ -33,6 +33,8 @@ ALLOWED_HOSTS = [env('HOST_1')]
# Application definition
INSTALLED_APPS = [
'main',
'links',
'faerun_calendar',
'django.contrib.admin',
'django.contrib.auth',
@@ -106,7 +108,7 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization
# https://docs.djangoproject.com/en/4.0/topics/i18n/
LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'ru-ru'
TIME_ZONE = 'UTC'
+3 -1
View File
@@ -20,5 +20,7 @@ from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('faerun_calendar.urls')),
path('', include('main.urls')),
path('calendar/', include('faerun_calendar.urls')),
path('links/', include('links.urls')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)