added colors

This commit is contained in:
2024-09-11 23:05:33 +02:00
parent eea0897120
commit 433481e30e
21 changed files with 521 additions and 57 deletions

Binary file not shown.

8
saburly/custom_editor.py Normal file
View File

@@ -0,0 +1,8 @@
FULL_EDITOR = [
'bold', 'italic', 'h2', 'h3', 'h4',
'ol', 'ul',
'hr',
'embed', 'link', 'image',
'black', 'saburly-blue',
'left', 'center', 'right'
]

View File

@@ -11,4 +11,9 @@ ALLOWED_HOSTS = ["*"]
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')

View File

@@ -18,6 +18,10 @@ DATABASES = {
}
}
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')