config_file.rst 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. Config file
  2. ===========
  3. Options available in settings.py:
  4. JET_THEME
  5. ---------
  6. Django JET allows you to change default theme. This feature is mainly used for customizing color schemes rather than
  7. making absolutely different themes. This option in fact make Django load different css styles.
  8. Possible built-in themes are:
  9. * default
  10. * green
  11. .. note::
  12. More themes are incoming in future.
  13. To change theme use parameter:
  14. .. code:: python
  15. JET_THEME = 'default'
  16. CUSTOM JET_THEME
  17. ----------------
  18. You are free to add your own color schemes by adding new folder to **/static/jet/css/themes/**.
  19. You can use **/jet/static/jet/css/themes/green/** folder as an example (available in Django JET repository).
  20. _variables.scss contains **all** used colors. You'll have to compile all .scss files in theme directory
  21. to start using your own theme.
  22. JET_INDEX_DASHBOARD
  23. -------------------
  24. Sets which dashboard class will be used for rendering admin index dashboard. Allows you to create
  25. your own dashboard with custom modules and pre-installed layout.
  26. .. code:: python
  27. JET_INDEX_DASHBOARD = 'jet.dashboard.DefaultIndexDashboard'
  28. JET_APP_INDEX_DASHBOARD
  29. -----------------------
  30. Same as **JET_INDEX_DASHBOARD**, but for application pages
  31. .. code:: python
  32. JET_APP_INDEX_DASHBOARD = 'jet.dashboard.DefaultAppIndexDashboard'