BO 1.27+1 requirements
This commit is contained in:
@@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
|
||||
|
||||
import os
|
||||
|
||||
BACKOFFICE_VERSION = 1.25
|
||||
BACKOFFICE_VERSION = 1.27
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
@@ -51,7 +51,7 @@ INSTALLED_APPS = [
|
||||
'rangefilter',
|
||||
'adminsortable2',
|
||||
'inline_actions',
|
||||
#'django_cron',
|
||||
'django_cron',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -174,7 +174,7 @@ LOGGING = {
|
||||
},
|
||||
}
|
||||
|
||||
#CRON_CLASSES = [
|
||||
# 'aitrainer_backoffice.controlling.cron.sync_customers',
|
||||
CRON_CLASSES = [
|
||||
'aitrainer_backoffice.controlling.cron.sync_customers',
|
||||
# ...
|
||||
#]
|
||||
]
|
||||
@@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
|
||||
|
||||
import os
|
||||
|
||||
BACKOFFICE_VERSION = 1.25
|
||||
BACKOFFICE_VERSION = 1.27
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
@@ -28,7 +28,8 @@ SECRET_KEY = '9874959872==9847588jkklnkln$asdf' #os.environ['DJANGO_KEY']
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = ['62.171.188.119', 'localhost', 'andio.eu', 'aitrainer.info','aitrainer.app', 'admin.aitrainer.info', "admin.aitrainer.app"]
|
||||
ALLOWED_HOSTS = ['62.171.188.119', 'localhost', 'andio.eu', 'aitrainer.info','aitrainer.app', 'admin.aitrainer.info',
|
||||
"admin.aitrainer.app"]
|
||||
|
||||
# Application definition
|
||||
|
||||
@@ -47,7 +48,7 @@ INSTALLED_APPS = [
|
||||
'rangefilter',
|
||||
'adminsortable2',
|
||||
'inline_actions',
|
||||
#'django_cron',
|
||||
'django_cron',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -185,7 +186,7 @@ CACHES = {
|
||||
}
|
||||
}
|
||||
|
||||
#CRON_CLASSES = [
|
||||
# 'aitrainer_backoffice.aitrainer_backoffice.controlling.cron.sync_customers',
|
||||
CRON_CLASSES = [
|
||||
'aitrainer_backoffice.aitrainer_backoffice.controlling.cron.sync_customers',
|
||||
# ...
|
||||
#]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user