:-) <input size="50" id="first_name" name="first_name" value="{{first_name}}">
-- Web Blue Screen of Death http://pyoohtml.appspot.com/web-blue-screen-of-death On Mar 21, 9:17 am, arnie <parvez...@rediffmail.com> wrote: > I have created a very simple django project that is using google > datastore. In there I have created a simple user form with first name, > last name, address fields. > When user clicks on submit button then be able to save these entries > in datastore table. What I want to do is to open the form in edit > mode. I have seen the app engine patch sample but there I am not able > to understand the editing part. Though i have placed an entry in > urls.py for editing also. > (r'^edituser$', 'my.views.edituser'), > The class for showing the form to the user as created in views.py is > given below > > class CreateUserForm(forms.Form): > first_name = forms.CharField() > last_name = forms.CharField() > street_address = forms.CharField() > > Inside the edituser function in views.py > def edituser(request, key): > > can anybody let me know how to display the form with filled entries so > that the user can edit the same and update the datastore table. > > Thanks > Arnie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---