I want to create a dynamic CSS file in a view and then render a template which loads that CSS file. Depending on the arguments given to the view, the CSS may have different
views.py:
def create_css_file(request, color): f = color return render_to_response('mytemplate.html', locals())
template:
Don't create css file on the fly it is unnecessary.