{% comment %} This snippet allows customizing the theme (css file) as defined per user in the UserPreference model theme field. Include this snippet within the head tags of your base template:
{% include 'snippits/user_theme.htm' %} {% endcomment %} {% get_theme request as user_theme %} {% if user_theme %} {% else %} {% endif %}