Logo
Explore Help
Register Sign In
discoman/python-tdd
1
0
Fork 0
You've already forked python-tdd
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
d4518a0671a27b75d2bc326f09785fb671dae518
python-tdd/src/core/context_processors.py

4 lines
165 B
Python
Raw Normal View History

'theme_switcher,' 'theme-picker' & 'theme' renamed everywhere to simply 'palette'; new urls & views & their corresponding ITs ensure applet menu checkbox functionality
2026-03-05 14:45:55 -05:00
def user_palette(request):
new FT test_theme for theme switcher functionality; theme-switcher content added to home.html, several dashboard views & urls, all appropriate ITs & UTs; lyric user model saves theme (migrations run); django-compressor and django-libsass libraries added to dependencies
2026-03-02 13:57:03 -05:00
if request.user.is_authenticated:
'theme_switcher,' 'theme-picker' & 'theme' renamed everywhere to simply 'palette'; new urls & views & their corresponding ITs ensure applet menu checkbox functionality
2026-03-05 14:45:55 -05:00
return {"user_palette": request.user.palette}
return {"user_palette": "palette-default"}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 185ms Template: 22ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API