I am a newbie, and I try to use tags,
this is a example in djangoproject
class CurrentTimeNode3(template.Node):
def __init__(self, format_string, var_name):
self.format_string = format_string
self.var_name = var_name
def render(self, context):
context[self.var_nam
thanks
On 12月19日, 下午12時28分, cschand wrote:
> check this snippet
>
> http://www.djangosnippets.org/snippets/840/
>
> Satheesh
>
> On Dec 19, 9:05 am, mono wrote:
>
> > I means if I have three param( I think it is very frequent ), the
> > style of writ
, maybe somehow exactly
On 12月19日, 上午6時28分, "Wayper, Paul"
wrote:
> > From: mono
> > Sent: Thursday, 18 December 2008 22:10
> >To: Django users
> > Subject: Re:howtoadd more params in url
>
> > I don't know whether it is a good answer because only two
maybe do it.
is there a method like '+='?
On Dec 18, 8:10 pm, "@@" wrote:
> You can keep these information in session.
>
> On Thu, Dec 18, 2008 at 7:10 PM, mono wrote:
>
> > I don't know whether it is a good answer because only two page links
>
glegroups.com
> > [mailto:django-us...@googlegroups.com] On Behalf Of mono
> > Sent: Thursday, 18 December 2008 15:14
> > To: Django users
> > Subject: how to add more params in url
>
> > eg.
>
> > in my list.html
>
> > {%if is_extend %}
> > extend
>
&g
eg.
in my list.html
{%if is_extend %}
extend
{# pagination code #}
next
previous
as result, there is only one param add in url, either is_extend or
page
so, how to bind all them in url?
thanks
--~--~-~--~~~---~--~~
You received this message because you are
6 matches
Mail list logo