Re: recursive template calls

2006-02-16 Thread [EMAIL PROTECTED]
Shannon -jj Behrens wrote: > I think it's unfortunately that template writers have to resort to > Python just to package up a bit of HTML into a function, but that's > just my opinion. In the normal case, you can just use the {% include %} tag, so you don't have to resort to Python. It is the r

Re: recursive template calls

2006-02-13 Thread Jonathan Ellis
On 2/13/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: I think it's unfortunately that template writers have to resort toPython just to package up a bit of HTML into a function, but that'sjust my opinion. OTOH Python is a lot cleaner than attempts at "designer-friendly" mini-languages.  (CFScri

Re: recursive template calls

2006-02-13 Thread Shannon -jj Behrens
On 2/11/06, Robert Wittams <[EMAIL PROTECTED]> wrote: > > Shannon -jj Behrens wrote: > >> You don't *need* recursion on templates for threaded messages like > >>your example app, that's exactly the point :) > > > > > > Julio, with all due respect for your programming prowess, I *like* > > recursi

Re: recursive template calls

2006-02-11 Thread Luke Plant
On Saturday 11 February 2006 12:08, Robert Wittams wrote: > If you don't learn how to use at least > simple_tag and inclusion_tag, you will get annoyed quite often. That's fairly easy for you to say -- you wrote them! Documentation on these tags is fairly hard to come by - nothing in the offic

Re: recursive template calls

2006-02-11 Thread Robert Wittams
Shannon -jj Behrens wrote: >> You don't *need* recursion on templates for threaded messages like >>your example app, that's exactly the point :) > > > Julio, with all due respect for your programming prowess, I *like* > recursion. It can often make hard problems easy, even when generating > HT

Re: recursive template calls

2006-02-09 Thread Shannon -jj Behrens
> You don't *need* recursion on templates for threaded messages like > your example app, that's exactly the point :) Julio, with all due respect for your programming prowess, I *like* recursion. It can often make hard problems easy, even when generating HTML. Anyway, I figured out how to solv

Re: recursive template calls

2006-02-09 Thread Julio Nobrega
You don't *need* recursion on templates for threaded messages like your example app, that's exactly the point :) On 2/8/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > > Sorry, guys, I'm confused. I *did* search before posting, but wasn't > able to find a full answer. I saw someone doing

Re: recursive template calls

2006-02-08 Thread Shannon -jj Behrens
Sorry, guys, I'm confused. I *did* search before posting, but wasn't able to find a full answer. I saw someone doing the bulletin board example, but I never found out how to recursively call a template. Must I use the non Django {% recurse %} custom tag? Thanks, -jj On 2/8/06, Max Battcher <[

Re: recursive template calls

2006-02-08 Thread Max Battcher
Jamie Scheinblum wrote: that's funny. they answered how to do the tree thing, but the wiki basically says no recursion... I should look into the % recurse % keyword tho. The {% recurse %} is a custom tag from the Custard work at Greenpeace, not a Django-contributed tag. It is Open Source un

Re: recursive template calls

2006-02-07 Thread Jamie Scheinblum
that's funny. they answered how to do the tree thing, but the wiki basically says no recursion... I should look into the % recurse % keyword tho. -j On 2/7/06, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying to build ye ol' bulletin board application to try out > Django.

Re: recursive template calls

2006-02-07 Thread Cheng Zhang
Please search the previous email archive for discussion on such topic like "tree view". In fact, there is a wiki page for an implementation as well. On Feb 8, 2006, at 11:31 AM, Shannon -jj Behrens wrote: Hi, I'm trying to build ye ol' bulletin board application to try out Django. I'm ha