Discussion:
how to send data from form site page
Gear Crew
2018-11-22 14:47:34 UTC
Permalink
how to send data from form site page that has html form to model without
using form model because I want to use HTML elements instead of elements in
form model
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jani Tiainen
2018-11-22 14:53:09 UTC
Permalink
Hi.

I've really hard time to understand what you want to achieve. Could you
please give an example what you're after?
Post by Gear Crew
how to send data from form site page that has html form to model without
using form model because I want to use HTML elements instead of elements in
form model
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91od6RXu_Tq9Q2VCZwnzCxRKvB%2B_b%3DFPdPEDURmJpyi%3DOVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Gear Crew
2018-11-22 15:18:29 UTC
Permalink
I want to edit style for form model like changing in default HTML tags
Post by Jani Tiainen
Hi.
I've really hard time to understand what you want to achieve. Could you
please give an example what you're after?
Post by Gear Crew
how to send data from form site page that has html form to model without
using form model because I want to use HTML elements instead of elements in
form model
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/44e60fc3-3f20-46cc-a400-0385c3c1b038%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thiago Oliveira
2018-11-22 15:39:03 UTC
Permalink
I don't know if i understand,

but if you make html html and put tag name with same name that form
field... you can get the information

like from = MyForm(request.POST)

because, the tag name always send to back-end with the value of field....
Post by Gear Crew
I want to edit style for form model like changing in default HTML tags
Post by Jani Tiainen
Hi.
I've really hard time to understand what you want to achieve. Could you
please give an example what you're after?
Post by Gear Crew
how to send data from form site page that has html form to model without
using form model because I want to use HTML elements instead of elements in
form model
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/44e60fc3-3f20-46cc-a400-0385c3c1b038%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/44e60fc3-3f20-46cc-a400-0385c3c1b038%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGXgVz494PBDcDCPRTqDpvmzF%2Bvb0MvnqSoGgwmGoJXHbD4_vg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jani Tiainen
2018-11-22 16:52:48 UTC
Permalink
Hi,

If I understood correctly you want to render form with plain HTML. That is
completely possible and it's not even hard.

You just can do <input type="text" name="some_field_name"> and it will work

Only important thing is to match "some_field_name" with field name in the
django form. You still should Django form in a view to do very important
thing that it's actually meant for - to validate and coerce user input in
correct form. Also you might want to render field and form errors (forms do
provide simple accessors for them) from the form itself. As well as
initial/current values so you don't show empty form everytime for user for
example when your form fails to validate.
Post by Gear Crew
I want to edit style for form model like changing in default HTML tags
Post by Jani Tiainen
Hi.
I've really hard time to understand what you want to achieve. Could you
please give an example what you're after?
Post by Gear Crew
how to send data from form site page that has html form to model without
using form model because I want to use HTML elements instead of elements in
form model
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/3d21f7db-8fa4-416b-b5ca-f0f111425100%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/44e60fc3-3f20-46cc-a400-0385c3c1b038%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/44e60fc3-3f20-46cc-a400-0385c3c1b038%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91od5GwOhSDeEMQvV-WJq41drw-DBDnrvViFnbV7vHVLtNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jason
2018-11-23 03:40:58 UTC
Permalink
https://stackoverflow.com/help/how-to-ask

how to ask a good question is one of the most valuable skills you can
learn. if you do so, you won't have several people asking for more
clarifications to broad, imprecise queries and struggling to give any
meaningful help
--
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 post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/956693bd-5a85-4744-a0a7-521f2aa33d70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...