I usually do extension=''
And make sure you don't do extension=None -- that's what it's set to by
default, and in that case, it will just use request.extension, which you
don't want. You have to explicitly set extension=False (or 0).
Anthony
On Friday, July 1, 2011 1:53:27 PM UTC-4, Jonathan Lundell wrote:
> On Jul 1
On Jul 1, 2011, at 10:45 AM, Martín Mulone wrote:
> you can pass extension=0 to the URL
>
> URL('default','campaigns',args=['edit',n.id],extension=0)
extension=False would be prettier.
>
>
> 2011/7/1 David J.
> I am running latest in trunk.
>
> I have this code being called from a LOAD funct
you can pass extension=0 to the URL
URL('default','campaigns',**args=['edit',n.id],extension=0)
2011/7/1 David J.
> I am running latest in trunk.
>
> I have this code being called from a LOAD function;
>
> I see it appends the '.load' to the generated URL
>
> When I think it should be
>
> /cam
I am running latest in trunk.
I have this code being called from a LOAD function;
I see it appends the '.load' to the generated URL
When I think it should be
/campaigns/edit/5435
It returns
/campaigns.load/edit/5435
{{ for n in items:}}
{{= n.campaign_name }}
src="{{= URL('static','im
5 matches
Mail list logo