settings.py 509 B

12345678910111213
  1. from django.conf import settings
  2. # Theme
  3. JET_DEFAULT_THEME = getattr(settings, 'JET_DEFAULT_THEME', 'default')
  4. JET_THEMES = getattr(settings, 'JET_THEMES', [])
  5. # Side menu
  6. JET_SIDE_MENU_COMPACT = getattr(settings, 'JET_SIDE_MENU_COMPACT', False)
  7. JET_SIDE_MENU_ITEMS = getattr(settings, 'JET_SIDE_MENU_ITEMS', None)
  8. JET_SIDE_MENU_CUSTOM_APPS = getattr(settings, 'JET_SIDE_MENU_CUSTOM_APPS', None)
  9. # Improved usability
  10. JET_CHANGE_FORM_SIBLING_LINKS = getattr(settings, 'JET_CHANGE_FORM_SIBLING_LINKS', True)