0

I'm using the django standar forms, is there any way to style this without using model forms

class DeliveryForm(forms.Form):
    full_name = forms.CharField(max_length=50)
    email = forms.EmailField()
    phone = forms.CharField(max_length=25)
    address = forms.CharField(max_length=100)
    city = forms.CharField(max_length=50)
    postal = forms.CharField(max_length=10)

this is my template as well

<form action ="" method='post'>
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Next">
</form>
nic23
  • 53
  • 7

0 Answers0