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',