contrib/admin/validation.py

2010-08-31 Thread George Karpenkov
There is a file called "validation.py" which attempts to do validation checking for the admin. Though I realize it might be useful for the beginners (as a basic sanity check) quite often I find it standing in my way and being annoying. The reasons are: 1) Python does not have interfaces. It relies

Inline template rendering in admin shouldn't silence errors

2010-08-31 Thread George Karpenkov
Steps to reproduce: 1) Specify a custom admin class (say A) which mentions a custom inline with a custom template, say "a.html" 2) Write anything to "a.html" which will raise TemplateSyntaxError - ie "{% extends "a.html" %} 3) Observe the change_form for A. Note that you do not see any errors, but

Re: a new template algorithm

2010-08-31 Thread Russell Keith-Magee
On Wed, Sep 1, 2010 at 1:24 AM, stefanw wrote: > Hello, > > I guess the most interesting point in this discussion is: > >> After a while that I spent time to develop new tags and filters >> especially for >> new projects, I began to think a way to implement a template engine >> that >> would let m

Re: a new template algorithm

2010-08-31 Thread Stephen Wolff
Yep, and encourage new people to the list to actively contribute! One thing springs to mind, an agile / crystal process 'game', which encourages all parties to contribute ideas within a time frame (usually half an hour to a hour), without prejudice or discouragement. This gets lots of good

Re: a new template algorithm

2010-08-31 Thread stefanw
Hello, I guess the most interesting point in this discussion is: > After a while that I spent time to develop new tags and filters > especially for > new projects, I began to think a way to implement a template engine > that > would let me no more write sort of "plugins" like tags and filters, a

Re: a new template algorithm

2010-08-31 Thread gabriele
On Aug 31, 10:20 am, Luke Plant wrote: > On Tue, 2010-08-31 at 10:52 +0700, burc...@gmail.com wrote: I guess Luke is right. I needed something and I implemented it because I couldn't find it done as I wanted by no others. A priority was Python on linux system (so no windows, .NET, ...) and t

Re: a new template algorithm

2010-08-31 Thread gabriele
Hi, On Aug 31, 5:52 am, "burc...@gmail.com" wrote: > Why you patched Django instead of making a connector so everyone would > be able to use your template engine without patching django? This is how the whole thing started. I started a new job and the one that was in charge of the projects befor

Re: a new template algorithm

2010-08-31 Thread Luke Plant
On Tue, 2010-08-31 at 10:52 +0700, burc...@gmail.com wrote: > >From the engineering point of view, you did nothing important. In > fact, I think, you did a bad thing to Django: > By increasing the number of incompatible template engines for django, > you fraction the user base of each one, so you