-------------------------------------------------------------8<--------------------------------------
@template('template.html')
def list(request):
    if success:
        #return HttpResponseRedirect('url')
        raise HttpRedirectException
    else:
        return errorinfo
------------------------------------------------------------->8--------------------------------------

I'm sorry, here has a bug, the

raise HttpRedirectException

should be:

raise HttpRedirectException 'url'

--
I like python!
UliPad <<The Python Editor>>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

--~--~---------~--~----~------------~-------~--~----~
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