>
> It should be like this->
>
{% csrf_token %}
{{ form.as_p }}
{% for field, errors in form.errors.items %}
{{ errors }}
{% endfor %}
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
On Monday, 22 June 2020 23:40:50 UTC+5:30, Fredrick Adhing'a wrote:
>
> Views and models created using functions or classes?
>
classes are the best for model templates views.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
2 matches
Mail list logo