1👍
I’ve done something like that, pls take a look here https://github.com/ASKBOT/askbot-devel/blob/master/askbot/skins/loaders.py
Besides the template loader you may need means to resolve media specific to your theme. It can be for example a template tag or a filter that takes some base url and adds theme prefix or something like that, also you could make that automatically keep track of media versions. That way that when you refresh .js or other file the client will have to load the latest version.
- [Django]-Using Django-Q in production
- [Django]-Django settings.py Error: Import by filename is not supported
- [Django]-Django Forms clean() method – need IP address of client
0👍
not sure if it’s the same issue as my question theme switching, template and css file layout on a django site
subdirs of templates can be set as context var which is used as parameter for extend template tag
- [Django]-Django/Celery can't find importlib
- [Django]-Using middleware to add arguments to view functions in django
- [Django]-Passing a cv2 frame from view to template
Source:stackexchange.com