On 12/3/05, Tim Keating <[EMAIL PROTECTED]> wrote: > > "Hate" is too strong a word. However, I do feel that this is not a > positive addition.
> My apologies, I hate to be negative about someone else's hard work. Don't worry, I'm merely poking back in jest; I asked for criticism in the first place, and in a way I consider negative criticism *better* in that it forces one to address the criticism in either one's work (i.e., seeking to correct or even abandon one's work) or one's defense (i.e., being able to explain why one disagrees with the criticism). > We already have the ability to generate randomized *content* by writing > some fairly simple Python, and that's what it sounds like the intent of > this tag is. However, based on my (admittedly, highly subjective) > perception of the three-tiered architecture, templates are not the > place for generating content. It isn't that I object to adding logic to > the template layer -- some logic is inevitable because some form of > code is the easiest way to perform certain layout tasks (e.g. > assembling a table). If this tag was meant as a way to scramble your > LAYOUT, then I would be right behind it, but I don't see anyone > suggesting that as a way for this to be used. (Nor do I imagine there's > a real demand for that functionality :-) I'll give you the original case that led me to create this tag: in the course of porting a website to Django, I found myself having a difficult time when I wanted to rotate among a small, fixed number of taglines (e.g., Slashdot's "News for nerds"). Defining these as a model seemed like ridiculous overkill; they were rarely going to change. Furthermore, as part of what I considered the site's *layout*, they felt odd not being defined inside of the template. I hope this makes my rationale more clear, even if you don't agree with my solution. :-)