mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 13:16:33 +03:00
added new app, major updates
This commit is contained in:
parent
5bc3c3504e
commit
14b6bf141a
0
akarpov/tools/__init__.py
Normal file
0
akarpov/tools/__init__.py
Normal file
6
akarpov/tools/apps.py
Normal file
6
akarpov/tools/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ToolsConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "akarpov.tools"
|
0
akarpov/tools/migrations/__init__.py
Normal file
0
akarpov/tools/migrations/__init__.py
Normal file
0
akarpov/tools/qr/__init__.py
Normal file
0
akarpov/tools/qr/__init__.py
Normal file
0
akarpov/tools/qr/admin.py
Normal file
0
akarpov/tools/qr/admin.py
Normal file
6
akarpov/tools/qr/apps.py
Normal file
6
akarpov/tools/qr/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class QRConfig(AppConfig):
|
||||
default_auto_field = "django.db.models.BigAutoField"
|
||||
name = "akarpov.tools.qr"
|
0
akarpov/tools/qr/models.py
Normal file
0
akarpov/tools/qr/models.py
Normal file
0
akarpov/tools/qr/tests.py
Normal file
0
akarpov/tools/qr/tests.py
Normal file
0
akarpov/tools/qr/urls.py
Normal file
0
akarpov/tools/qr/urls.py
Normal file
0
akarpov/tools/qr/views.py
Normal file
0
akarpov/tools/qr/views.py
Normal file
0
akarpov/tools/urls.py
Normal file
0
akarpov/tools/urls.py
Normal file
0
akarpov/tools/views.py
Normal file
0
akarpov/tools/views.py
Normal file
|
@ -39,6 +39,11 @@
|
|||
# https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths
|
||||
LOCALE_PATHS = [str(ROOT_DIR / "locale")]
|
||||
|
||||
LANGUAGES = [
|
||||
("en-us", "English"),
|
||||
("ru", "Russian"),
|
||||
]
|
||||
|
||||
# DATABASES
|
||||
# ------------------------------------------------------------------------------
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#databases
|
||||
|
@ -88,6 +93,7 @@
|
|||
"django.contrib.humanize", # Handy template tags
|
||||
# required for jazzmin to work
|
||||
"jazzmin",
|
||||
"djangocms_admin_style",
|
||||
"django.contrib.admin",
|
||||
"django.forms",
|
||||
]
|
||||
|
@ -109,6 +115,11 @@
|
|||
"polymorphic",
|
||||
"cacheops",
|
||||
"extra_settings",
|
||||
# django-cms
|
||||
"cms",
|
||||
"menus",
|
||||
"treebeard",
|
||||
"sekizai",
|
||||
]
|
||||
|
||||
HEALTH_CHECKS = [
|
||||
|
@ -138,7 +149,7 @@
|
|||
]
|
||||
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
|
||||
INSTALLED_APPS = (
|
||||
DJANGO_APPS + THIRD_PARTY_APPS + HEALTH_CHECKS + ALL_AUTH_PROVIDERS + LOCAL_APPS
|
||||
DJANGO_APPS + LOCAL_APPS + THIRD_PARTY_APPS + HEALTH_CHECKS + ALL_AUTH_PROVIDERS
|
||||
)
|
||||
|
||||
# MIGRATIONS
|
||||
|
@ -242,6 +253,7 @@
|
|||
"django.template.context_processors.tz",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"akarpov.users.context_processors.allauth_settings",
|
||||
"sekizai.context_processors.sekizai",
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
"about/", TemplateView.as_view(template_name="pages/about.html"), name="about"
|
||||
),
|
||||
path("health/", include("health_check.urls")),
|
||||
path("cms/", include("cms.urls")),
|
||||
# Django Admin, use {% url 'admin:index' %}
|
||||
path(settings.ADMIN_URL, admin.site.urls),
|
||||
# User management
|
||||
|
|
4366
poetry.lock
generated
4366
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -63,6 +63,8 @@ django-jazzmin = "^2.6.0"
|
|||
django-cacheops = "^6.1"
|
||||
django-extra-settings = "^0.7.0"
|
||||
psycopg2-binary = "^2.9.5"
|
||||
django-cms = "^3.11.1"
|
||||
django-sekizai = "^4.0.0"
|
||||
|
||||
|
||||
[build-system]
|
||||
|
|
Loading…
Reference in New Issue
Block a user