https://tutorial.djangogirls.org/en/django_forms/
gabriels...@gmail.com schrieb am Freitag, 21. Mai 2021 um 12:32:51 UTC+2:
From django import formsClass Feedback(forms.form):name = forms.CharField(widget=forms.TextInput)Just like that and you import it into your viewsIf you want more information you can read the django documentation tooOn Fri, 21 May 2021 at 09:44 Théodore KOSSI <kossit...@gmail.com> wrote:okay I understand. So , I want to create A general form. What can I use?Le ven. 21 mai 2021 à 10:33, 712189512 <gabriels...@gmail.com> a écrit :Both forms are pretty easy to useModel form makes it more simpler because it takes your model and creates a form out of your model for you whereas general form you have to do everything from scratch--On Fri, 21 May 2021 at 09:29 Théodore KOSSI <kossit...@gmail.com> wrote:general usage form. Tell me what the importance of model form?Le ven. 21 mai 2021 à 10:27, 712189512 <gabriels...@gmail.com> a écrit :It depends on what you want to doAre creating the form from a model or a general usage form--On Fri, 21 May 2021 at 09:24 Théodore KOSSI <kossit...@gmail.com> wrote:Hellooo guys, I need your help. I want to create a form in django and I don't know exactly what i can use to create it.----theodoros17@python-developer
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKiMjQENmpGCoMuE3zmuaFaYkD8t7v7Kc0OWz7G_BdQegVXSNw%40mail.gmail.com.
Gabrielstone😎--
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...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL-5MpUi4ZvrGfN20MrsFN4dTtD57Z0Ae5vWeCybBBZb-Afn6g%40mail.gmail.com.
----theodoros17@python-developer
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKiMjQFO3ssc-J4hgzc_7%2Bw_VjU88uwSBeVC-Bmupyh4mDxNKQ%40mail.gmail.com.
Gabrielstone😎--
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...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL-5MpXX_884cpG7de%2BHoMH1t1tuk1PJmT7%3DTEjhqZEVHD%2BEfA%40mail.gmail.com.
----theodoros17@python-developer
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...@googlegroups.com.--To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKiMjQFaU2RVAf-rV%3DCx3c6jFO9fn9koUX%3DUu20GhBygouAXcQ%40mail.gmail.com.
Gabrielstone😎
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/0e093d46-bb7f-463b-b575-ddd791be2634n%40googlegroups.com.
No comments:
Post a Comment