Kenneth,
I've tried that.  It will not work because everytime the view gets
accessed then mysearchlist gets cleared.  Once mysearchlist is created
from within the post.  I want the values to stay the same no matter
how many times the GET gets accessed.

On Oct 9, 10:02 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 10-Oct-07, at 8:27 AM, Greg wrote:
>
> > def searchresult(request):
>
>         mysearchlist = []
>
> >     if request.method == 'POST':
> >         mysearchlist = [1,2,3,4,5]
> >     if request.method == 'GET':
> >          assert False, mysearchlist
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to