add new app
This commit is contained in:
@@ -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
|
||||
@@ -23,6 +23,9 @@ APPS = [
|
||||
'core.apps.accounts',
|
||||
'core.apps.shared',
|
||||
'core.apps.company',
|
||||
'core.apps.wherehouse',
|
||||
'core.apps.products',
|
||||
'core.apps.projects',
|
||||
]
|
||||
|
||||
PACKAGES = [
|
||||
|
||||
@@ -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')),
|
||||
]
|
||||
)),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user