Skip to content

Commit

Permalink
chore(update): add responsive admin-UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Sep 3, 2024
1 parent 385e087 commit a48bb3a
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 5 deletions.
Empty file.
8 changes: 6 additions & 2 deletions server/core/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
# Application definition

DJANGO_APPS = [
'jazzmin',
'admin_interface',
'colorfield',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Expand Down Expand Up @@ -184,9 +185,12 @@
"staticfiles.W004"
]

#Django-admin-interface config
X_FRAME_OPTIONS = "SAMEORIGIN"
SILENCED_SYSTEM_CHECKS = ["security.W019"]

# Tinymce API Config
TINYMCE_API_KEY = os.getenv('TINYMCE_API_KEY')

from .jazzmin import *
from .celery_config import *
from .mail import *
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ click-repl==0.3.0
cron-descriptor==1.4.3
cryptography==43.0.0
Django==5.0.8
django-admin-interface==0.28.8
django-celery-beat==2.6.0
django-ckeditor==6.7.1
django-ckeditor-5==0.2.13
django-colorfield==0.11.0
django-cors-headers==4.4.0
django-filter==24.2
django-jazzmin==3.0.0
django-js-asset==2.2.0
django-shortcuts==1.6
django-timezone-field==7.0
Expand All @@ -42,6 +41,7 @@ python-crontab==3.2.0
python-dateutil==2.9.0.post0
python-decouple==3.8
python-dotenv==1.0.1
python-slugify==8.0.4
PyYAML==6.0.1
redis==5.0.8
referencing==0.35.1
Expand Down

0 comments on commit a48bb3a

Please sign in to comment.