Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Graham Dumpleton
On Jun 22, 4:29 pm, Brian Harring <[EMAIL PROTECTED]> wrote: > On Fri, Jun 22, 2007 at 03:47:05AM -, Graham Dumpleton wrote: > > > On Jun 22, 11:57 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > > wrote: > > > This problem is my high-priority item at the moment. When I've done my > > > necessary

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 23:29 -0700, Brian Harring wrote: [...] > While it's not performance related, one additional argument against > iter_render via James Bennett is that it makes third party code > supplying their own Node derivatives a little tricky if they're trying > to support svn and <=0

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Brian Harring
On Fri, Jun 22, 2007 at 03:47:05AM -, Graham Dumpleton wrote: > > On Jun 22, 11:57 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > This problem is my high-priority item at the moment. When I've done my > > necessary work today, I'm going to hook up a couple of different wsgi > > server

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Malcolm Tredinnick
On Fri, 2007-06-22 at 03:47 +, Graham Dumpleton wrote: > On Jun 22, 11:57 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > This problem is my high-priority item at the moment. When I've done my > > necessary work today, I'm going to hook up a couple of different wsgi > > servers (along

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Graham Dumpleton
On Jun 22, 11:57 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > This problem is my high-priority item at the moment. When I've done my > necessary work today, I'm going to hook up a couple of different wsgi > servers (along with mod_python) and make sure we fix it or back it out > for a bit.

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Brian Harring
On Fri, Jun 22, 2007 at 11:57:58AM +1000, Malcolm Tredinnick wrote: > > On Thu, 2007-06-21 at 18:29 -0700, Brian Harring wrote: > > On Fri, Jun 22, 2007 at 09:47:57AM +1000, Malcolm Tredinnick wrote: > [...] > > > Making the change at the WSGI handler level is more efficient in terms > > > of netw

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 18:29 -0700, Brian Harring wrote: > On Fri, Jun 22, 2007 at 09:47:57AM +1000, Malcolm Tredinnick wrote: [...] > > Making the change at the WSGI handler level is more efficient in terms > > of network traffic, since WSGI servers are not permitted to buffer > > iterated writes.

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Brian Harring
On Fri, Jun 22, 2007 at 09:47:57AM +1000, Malcolm Tredinnick wrote: > > On Thu, 2007-06-21 at 10:16 -0700, Brian Harring wrote: > > On Thu, Jun 21, 2007 at 08:33:05PM +1000, Malcolm Tredinnick wrote: > > > > > > Brian, > > > > > > On Thu, 2007-06-14 at 12:23 -0700, Brian Harring wrote: > > > > J

Re: linebreaksli template filter

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 19:04 -0500, Gary Wilson wrote: Hey .. you're back. :-) Hope you had a nice break. > [EMAIL PROTECTED] wrote: > > I don't want to attempt to pollute Django's beautiful template library > > namespace with garbage, but I do see a legitimate value for a > > linebreaksli templa

Re: linebreaksli template filter

2007-06-21 Thread SmileyChris
> This has got me thinking though, do we even really need the two > linebreaks filters that exist now? Yes. You're underestimating what the linebreaks filter does. It breaks the text up into a list, splitting on multiple new-lines. Each of those list items get wrapped in a (after getting their s

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Malcolm Tredinnick
On Thu, 2007-06-21 at 10:16 -0700, Brian Harring wrote: > On Thu, Jun 21, 2007 at 08:33:05PM +1000, Malcolm Tredinnick wrote: > > > > Brian, > > > > On Thu, 2007-06-14 at 12:23 -0700, Brian Harring wrote: > > > Just filed ticket 4565, which basically converts template rendering > > > away from

Re: linebreaksli template filter

2007-06-21 Thread Gary Wilson
[EMAIL PROTECTED] wrote: > I don't want to attempt to pollute Django's beautiful template library > namespace with garbage, but I do see a legitimate value for a > linebreaksli template filter. A more general solution might be to have a linebreakstag filter that takes arguments: {{ mytext|lineb

Re: Customizable app/project skeletons

2007-06-21 Thread Clint Ecker
What about importing skeleton.py at the bottom of your settings file then? On 6/18/07, Jared Kuolt <[EMAIL PROTECTED]> wrote: > > The skeleton exists to overwrite the settings.py that is generated so > I don't have to modify things like TIME_ZONE, MEDIA_URL, etc, as well > as have my extra bit

Re: Volunteer(s) needed: Django needs a buildbot

2007-06-21 Thread stava
On Jun 1, 5:15 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > Hi folks -- > > We talked about this a while back: Django really needs a buildbot (or > some other continuous integration tool). I had planned to tackle this > myself (using Bitten --http://bitten.cmlenz.net/) but it's getting > c

Re: Bug in template system?

2007-06-21 Thread Brian Harring
On Thu, Jun 21, 2007 at 04:19:07PM -0400, Mario Gonzalez wrote: > > Hello, today after an svn update I've got a > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py", > line 273, in run > self.finish_response() > File "/usr/lib/

Bug in template system?

2007-06-21 Thread Mario Gonzalez
Hello, today after an svn update I've got a Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 273, in run self.finish_response() File "/usr/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 312, in finish_re

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Brian Harring
On Thu, Jun 21, 2007 at 08:33:05PM +1000, Malcolm Tredinnick wrote: > > Brian, > > On Thu, 2007-06-14 at 12:23 -0700, Brian Harring wrote: > > Just filed ticket 4565, which basically converts template rendering > > away from "build a string within this node of subnode results, return > > it, wa

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread john-f
Thanks for the quick response and help! I'll be sure to post in the right group moving forward. Regards, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread Tom Tobin
On 6/21/07, john-f <[EMAIL PROTECTED]> wrote: > > Hi all > > I'm currently moving sites over to one server at my company. The > server will be hosting 2 versions of django (0.91 and 0.95). In the future, please direct help requests to the django-users mailing list; django-developers is for develo

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread Matt Davies
Hi John You need to install the python Markdown Module, it doesn't come with django mate or python, it's like an add on. I think on gentoo linux you can install it using emerge and etc-update. Not sure though, check your gentoo documentation on installing python modules. On 21/06/07, john-f <

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread Bryan L. Fordham
john-f wrote: > Hi all > > I'm currently moving sites over to one server at my company. The > server will be hosting 2 versions of django (0.91 and 0.95). > > Currently all the 0.91 sites on the server are up and running. > However, after I set up my first 0.95 site on the server I'm getting a > "

Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread john-f
Hi all I'm currently moving sites over to one server at my company. The server will be hosting 2 versions of django (0.91 and 0.95). Currently all the 0.91 sites on the server are up and running. However, after I set up my first 0.95 site on the server I'm getting a "The Python markdown library

Re: template rendering as iteration, instead of layered concatenation

2007-06-21 Thread Malcolm Tredinnick
Brian, On Thu, 2007-06-14 at 12:23 -0700, Brian Harring wrote: > Just filed ticket 4565, which basically converts template rendering > away from "build a string within this node of subnode results, return > it, wash rinse repeat", and into "yield each subnode chunk, and my > data as it's avail