The following is a part of upload-file mechanism in my forms.py:

from crispy_forms.layout import Divclass DocumentForm(forms.Form):
   docfile = forms.FileField(label='Select a BAM file')
   Div('docfile', style="background: black;", css_class="col-sm-6 col-md-9 
col-lg-9")

HTML

  {% crispy form %}

The file-uploads perfectly but I can't seem to get the CSS to respond at 
all.... I'm aware that there is a lot more elaborate ways of doing this but 
really I just want the upload to be functional which it is and from there 
I'd like to control the CSS... Help Please!!!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d625fb0f-7a03-488f-a1fd-ae26142d7da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to