0.5.2 documentation

This commit is contained in:
SDE
2024-07-11 13:28:25 +03:00
parent 66f721d5bf
commit 5272d7503f
11 changed files with 386 additions and 6 deletions

View File

@@ -25,10 +25,11 @@ SECRET_KEY = 'django-insecure-0lk552&eia*_v5q$c8((o4=0d6x_t4%y-*x9p=n05nydiu)s9-
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
# ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
CSRF_TRUSTED_ORIGINS = ['https://aerbim.com']
CSRF_TRUSTED_ORIGINS = ['https://aerbim.com', 'http://127.0.0.1:8019/']
# Application definition
@@ -56,6 +57,7 @@ INSTALLED_APPS = [
'ServicesApp',
'SlidesApp',
'PortfolioApp',
'DocsApp',
]
MIDDLEWARE = [
@@ -70,6 +72,8 @@ MIDDLEWARE = [
# 'AuthApp.middleware.ResponseInterceptionMiddleware',
]
X_FRAME_OPTIONS = 'SAMEORIGIN'
ROOT_URLCONF = 'pAerBim.urls'
TEMPLATES = [
@@ -208,6 +212,7 @@ CKEDITOR_JQUERY_URL = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery
CKEDITOR_CONFIGS = {
'default': {
'versionCheck': False,
'height': 291,
'width': '70vw',
'filebrowserWindowHeight': 600,
@@ -245,7 +250,7 @@ CKEDITOR_CONFIGS = {
'/',
{'name': 'links', 'items': ['Link', 'Unlink', 'Anchor', '-', 'Blockquote' ]},
{'name': 'insert',
'items': ['Image', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']},
'items': ['Image', 'Update', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']},
],
}
}