Monday, April 27, 2020

Re: AttributeError with forms

In addition, you must define your model in models.py

And to get this attributes on your views.py from a post request, you could use like {{ form.attribute }}

Regards

Sent from my iPhone

On 27 Apr 2020, at 10:29, DimGo <proskuryakov931@gmail.com> wrote:


Why is this this strange error?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7a2089af-344a-479d-bf7c-8a943973159b%40googlegroups.com.
<Снимок экрана от 2020-04-27 18-06-28.png>

No comments:

Post a Comment