Wednesday, April 27, 2016

Re: Completed form for an authenticated user

Yes Gergely, it is exactly what I want, simple form that saves a user's input into database. I have gone through tutorial on the django doc website and kind of know how forms work in general. I just cannot figure out how to hook together a user with his/her input data.

On Wednesday, April 27, 2016 at 11:49:22 PM UTC+6, Gergely Polonkai wrote:
It is indeed unclear, what you want to do. How I understood it:

show a bunch of fields to the user that they can fill with data
then, they press the Save button, and the data gets into the database (or whatever)
then, you want to show the same fields, filled with the data that the user just entered

Is this it?

Also, have you gone through the tutorial? If not, I strongly suggest to to so. It will clear a lot of things both about Django and the web in general.

Best,
Gergely


2016-04-27 19:13 GMT+02:00 Said Akhmedbayev <said...@gmail.com>:
Let's say, for example, I have a reusable form. An authenticated user fills out this form and saves it. How then, I can show to the user a page with the complete form?

Sorry, for not being able to explain the question clearly, I am new to django and to the web development in general.

--
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/4165af84-44ec-4494-8613-8396cc6d2e0b%40googlegroups.com.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/af272634-e148-4e82-ace5-839617f5502f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment