form detail view using generic view

16 views
Skip to first unread message

Pradeep gopi

unread,
Apr 16, 2015, 11:40:29 AM4/16/15
to 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

unread,
Apr 16, 2015, 1:22:29 PM4/16/15
to 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
Reply all
Reply to author
Forward
0 new messages