Request_Response Problem

2006-06-27 Thread HoLin
hi allI have a Query_String like this :?type_encode=0&domain=python&root=.cn&root=.com&root=.netusing request.REQUEST.get("root") can only get  the last value *.net*how can I get the right value of root? -- RegardsHoLin --~--~-~--~~~---~--~~ You received this messag

Re: Request_Response Problem

2006-06-27 Thread HoLin
Simon,Malcolm, thank you for your quick replies.:)I need to read the docs more carefull.On 6/28/06, Malcolm Tredinnick < [EMAIL PROTECTED]> wrote:On Wed, 2006-06-28 at 09:21 +0800, HoLin wrote: > hi all> I have a Query_String like this :> ?type_encode=0&domain=python&root=

why 'default' filter does't work?

2006-08-31 Thread HoLin
the code   /z/catalog/{{ act|default:"new" }}/  works well before i get the latest svn trunk. I try to replace it like this  /z/catalog/{{ act|default_if_none:"new" }}/, it also returns blank. Does someone know how?-- RegardsHoLin --~--~-~--~~~---~--~~ You received

Re: why 'default' filter does't work?

2006-08-31 Thread HoLin
s new bid, I return render_to_response("siteadmin/bid_new.html")  On 9/1/06, Don Arbow <[EMAIL PROTECTED]> wrote: On Aug 31, 2006, at 8:20 AM, HoLin wrote:> the code   /z/catalog/{{ act|default:"new" }}/  works well before i > get the> latest svn trunk.> I try t

Re: why 'default' filter does't work?

2006-08-31 Thread HoLin
Thank you for your reply.  I think 'default' filter is not useful to me now. :(, I must add 'act' variable explicitly.     On 9/1/06, SmileyChris <[EMAIL PROTECTED]> wrote: Hi HoLin,I encountered that same problem - the functionality changed in [3268]so that filters aren

ordering has no use

2006-04-27 Thread holin
#-my models file--- #coding=utf-8 from django.db import models # Create your models here. class Note(models.Model): items = models.CharField('条目', maxlength=400) money = models.FloatField('价格', max_digits=5, decimal_places=2) tagIds = models.Ch

Re: ordering has no use

2006-04-27 Thread holin
found the problem "class META:" should be "class Meta: " :( --~--~-~--~~~---~--~~ 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