Hi You should probably put the @login_required on the view method that presents the form (ie the get) that the user would then post from.
Rgds T On Nov 14, 3:41 pm, 风笑雪 <[email protected]> wrote: > Hi, you can see the code in SDK: > google_appengine\google\appengine\ext\webapp\util.py > > @login_required shouldn't be used for POST, because after user login, > he should re-post data. But the post url may not equal to get url, so > where should the user be redirect to? > > 2009/11/14 Rein Petersen <[email protected]>: > > > Correction: > >> Somebody please tell me that it can decorate POST, *PUT*, and DELETE as > >> well ... > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.
