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
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=
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
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
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
#-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
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
7 matches
Mail list logo