On 3/2/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
>
> I thought with django i would choose a full features framework :(
It works pretty well for me and many others. Writing a template tag
is a reasonable solution, IMHO. :-/
--~--~-~--~~~---~--~~
You received thi
Jeremy Dunck schrieb:
> If you want recursion in templates, why not just use Jinja?
Jinja is super cool. But I would like to keep the PyLucid package small.
I thought with django i would choose a full features framework :(
--
Mfg.
Jens Diemer
CMS in pure Python CGI: http://www.pylucid.
On 3/2/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
>
> Jeremy Dunck schrieb:
> >> I found this:
> >> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py
> >>
> >> But i don't know how i can use this.
>
> Hm :(
> The code is for an older
Jeremy Dunck schrieb:
>> I found this:
>> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py
>>
>> But i don't know how i can use this.
Hm :(
The code is for an older django version.
--
Mfg.
Jens Diemer
CMS in pure Python CG
Jens Diemer schrieb:
> Jeremy Dunck schrieb:
>>> I found this:
>>> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py
>>>
>>> But i don't know how i can use this.
>> Yeah, I'd be careful about the license. I don't see one.
>> You migh
Jeremy Dunck schrieb:
>> I found this:
>> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py
>>
>> But i don't know how i can use this.
>
> Yeah, I'd be careful about the license. I don't see one.
> You might contact one of these fol
On 3/1/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
>
> Joseph Heck schrieb:
> > Check out the docs at
> > http://www.djangoproject.com/documentation/templates_python/ for a good
> > overview. Making one is really pretty straightfoward.
>
> I don't think this is so easy :(
>
> I found this:
> https:
Joseph Heck schrieb:
> Check out the docs at
> http://www.djangoproject.com/documentation/templates_python/ for a good
> overview. Making one is really pretty straightfoward.
I don't think this is so easy :(
I found this:
https://svn.greenpeace.org/projects/custard/browser/production/trunk/mel
On 2/27/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
...
> recurse used the for loop again with the subitems. So i can easy create
> a recursion.
While I agree with Joseph that writing your own template tag to handle
this is pretty easy, it's worth noting that Jinja spun off of Django's
templating
The templates don't support that kind of functionality directly. You'll
probably want to create your own template tag that will do for you - you can
recurse to your heart's content in Python.
Check out the docs at
http://www.djangoproject.com/documentation/templates_python/ for a good
overview. Ma
I wand generate a tree menu/sitemap.
How can i make a recursive loop in a template???
In jinja i can use the tag "recurse":
http://wsgiarea.pocoo.org/jinja/docs/loops.html#recursion
Here a jinja example:
context = {'sitemap
11 matches
Mail list logo