On Apr 29, 10:15 am, Alfonso <allanhender...@gmail.com> wrote: > Hi, > > Leading on from a post I made a few days ago I'm having real trouble > dealing with sessions to preserve form state and the standard HTML for > I placed in the template. I can't seem to get to the session data for > the form once submitted (via GET) and I'm wondering is that due to the > fact it's a standard HTML form, not a django form? > > Its a search form that allows users to refine results so I figured > setting it up as a POST was going to be overkill but now I wonder if > POST and sessions are connected? Am I going to save time if I rewrite > the form as a django form (want to avoid that if I can) > > Thanks anyone
What do you mean by 'the session data for the form'? Django's sessions framework only saves data if you tell it to. There's no automatic session data associated with a Django form. Perhaps if you post some code showing what you have done so far and what you are trying to do, we can help you more. -- DR. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---