From 22e88daf0272cf2696511015dbd0b75a9f4f07df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Tue, 3 Dec 2024 20:10:41 +0100 Subject: [PATCH] Korektury api init --- korektury/api/__init__.py | 0 korektury/api/apps.py | 7 +++++++ korektury/api/migrations/__init__.py | 0 mamweb/settings_common.py | 1 + 4 files changed, 8 insertions(+) create mode 100644 korektury/api/__init__.py create mode 100644 korektury/api/apps.py create mode 100644 korektury/api/migrations/__init__.py diff --git a/korektury/api/__init__.py b/korektury/api/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/korektury/api/apps.py b/korektury/api/apps.py new file mode 100644 index 00000000..be74e478 --- /dev/null +++ b/korektury/api/apps.py @@ -0,0 +1,7 @@ +from django.apps import AppConfig + + +class ApiConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'korektury.api' + label = 'korektury_api' # Protože jedno api už máme. diff --git a/korektury/api/migrations/__init__.py b/korektury/api/migrations/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/mamweb/settings_common.py b/mamweb/settings_common.py index 3bfbcfc4..3242bd62 100644 --- a/mamweb/settings_common.py +++ b/mamweb/settings_common.py @@ -134,6 +134,7 @@ INSTALLED_APPS = ( 'tvorba', 'galerie', 'korektury', + 'korektury.api', 'prednasky', 'header_fotky', 'various',