add new app

This commit is contained in:
behruz-dev
2025-08-01 15:24:00 +05:00
parent 9b403c46da
commit a714dbacb3
49 changed files with 579 additions and 0 deletions

View File

@@ -19,6 +19,27 @@ CACHEOPS = {
"ops": "all",
"timeout": 60 * 5,
},
"company.*": {
"ops": "all",
"timeout": 60 * 5
},
"products.*": {
"ops": "all",
"timeout": 60 * 5
},
"projects.*": {
"ops": "all",
"timeout": 60 * 5
},
"wherehouse.*": {
"ops": "all",
"timeout": 60 * 5
},
"shared.*": {
"ops": "all",
"timeout": 60 * 5
},
}
CACHEOPS_DEGRADE_ON_FAILURE = True
CACHEOPS_ENABLED = False

View File

@@ -23,6 +23,9 @@ APPS = [
'core.apps.accounts',
'core.apps.shared',
'core.apps.company',
'core.apps.wherehouse',
'core.apps.products',
'core.apps.projects',
]
PACKAGES = [

View File

@@ -16,6 +16,9 @@ urlpatterns = [
path('accounts/', include('core.apps.accounts.urls')),
path('company/', include('core.apps.company.urls')),
path('shared/', include('core.apps.shared.urls')),
path('wherehouses/', include('core.apps.wherehouse.urls')),
path('projects/', include('core.apps.projects.urls')),
path('products/', include('core.apps.products.urls')),
]
)),