I would like to style the following:
forms.py:
from django import forms
class ContactForm(forms.Form):
subject = forms.CharField(max_length=100)
email = forms.EmailField(required=False)
message = forms.CharField(widget=forms.Textarea)
contact_form.html:
<form action="" method="…
I am creating my application using Django, and am wondering how I can make Django use my CSS file? What settings do I need to do to make Django see the css file?
NB: On a local machine
I'd like to use an image file as a background-image on Django. But I do not know how.
First, I read this and tried to write like following this in a css file.
#third{
background: url("img/sample.jpeg") 50% 0 no-repeat …