form detail view using generic view

已查看 16 次
跳至第一个未读帖子

Pradeep gopi

未读,
2015年4月16日 11:40:292015/4/16
收件人 django...@googlegroups.com
iam new to django.  i want to develop a web page with a form with some data to enter after saving the data in the database the data must be shown on the same page from where it has been submitted

Filipe Ximenes

未读,
2015年4月16日 13:22:292015/4/16
收件人 django...@googlegroups.com
Hi Pradeep,

when data is saved, you want to show it in the form or as "view-only"?
If it is a form you need, Use a CreateView, and the redirect it to a UpdateView. Otherwise, do a CreateView and redirect to a TemplateView.


On Thu, Apr 16, 2015 at 11:22 AM, Pradeep gopi <p.gpra...@gmail.com> wrote:
iam new to django.  i want to develop a web page with a form with some data to enter after saving the data in the database the data must be shown on the same page from where it has been submitted

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/25de8b0d-a833-4b70-bd71-21cb3f7858ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
  
Filipe Ximenes
+55 (81) 8245-9204
Vinta Software Studio
http://www.vinta.com.br
回复全部
回复作者
转发
0 个新帖子