Completed form for an authenticated user

瀏覽次數:16 次
跳到第一則未讀訊息

Said Akhmedbayev

未讀,
2016年4月27日 下午1:13:312016/4/27
收件者:Django users
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.

Gergely Polonkai

未讀,
2016年4月27日 下午1:49:222016/4/27
收件者:Django users
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.

Said Akhmedbayev

未讀,
2016年4月28日 凌晨1:04:492016/4/28
收件者:Django users
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.
回覆所有人
回覆作者
轉寄
0 則新訊息