From df3be64da330823e2d31e4b27c0c353bee9e671f Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 18 Mar 2025 20:49:23 +0300 Subject: [PATCH] feat: Create a business application. --- promo_code/business/__init__.py | 0 promo_code/business/apps.py | 6 ++++++ promo_code/business/migrations/__init__.py | 0 promo_code/promo_code/settings.py | 1 + 4 files changed, 7 insertions(+) create mode 100644 promo_code/business/__init__.py create mode 100644 promo_code/business/apps.py create mode 100644 promo_code/business/migrations/__init__.py diff --git a/promo_code/business/__init__.py b/promo_code/business/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/promo_code/business/apps.py b/promo_code/business/apps.py new file mode 100644 index 0000000..7397685 --- /dev/null +++ b/promo_code/business/apps.py @@ -0,0 +1,6 @@ +import django.apps + + +class BusinessConfig(django.apps.AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'business' diff --git a/promo_code/business/migrations/__init__.py b/promo_code/business/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/promo_code/promo_code/settings.py b/promo_code/promo_code/settings.py index 40b4c34..560c10d 100644 --- a/promo_code/promo_code/settings.py +++ b/promo_code/promo_code/settings.py @@ -41,6 +41,7 @@ def load_bool(name, default): 'rest_framework_simplejwt', 'rest_framework_simplejwt.token_blacklist', # + 'business.apps.BusinessConfig', 'core.apps.CoreConfig', 'user.apps.UserConfig', ]