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
kg
http://lawgon.livejournal.com
http://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