Re: Conditional block statements

2010-02-23 Thread joep
Thanks, Russ. That makes some sense. However it leads to constructs like this: {% if need_form %} {block head %} {{block.super}} {% if need_form %} {{form.media}} {% endif %} {% endblock %} {{form.as_p}} {% endif %} (Or some variation thereof---it depends on how far apart

Re: Conditional block statements

2010-02-23 Thread Russell Keith-Magee
On Wed, Feb 24, 2010 at 2:53 AM, joep wrote: > This is in regard to this ticket, http://code.djangoproject.com/ticket/10975, > which states, in response to the user's complaint, that 'A block > cannot be defined conditionally within any sort of "if" construct, and > this is by design; the structur

Re: Customizable Serialization Idea -GSoC

2010-02-23 Thread Jesus Mager
Thanks for the advice! Of course I will apply in these year and do the home work. If some one has any other resource I it can be usefull , plese post it. So If I have some advances I will share it with all! 2010/2/23 Russell Keith-Magee : > On Tue, Feb 23, 2010 at 1:26 PM, Jesus Mager wrote: >> H

Re: Question for Django ORM developers

2010-02-23 Thread Tamas Szabo
On Wed, Feb 24, 2010 at 7:57 AM, Russell Keith-Magee wrote: > On Wed, Feb 24, 2010 at 12:20 AM, P.R. wrote: > > Hello, > > > > I have question about type of design patterns using in Django ORM. It > > is: Table Data Gateway, Row Data Gateway, Active Record or Data > > Mapper? .. Personally I thi

Re: Customizable Serialization Idea -GSoC

2010-02-23 Thread Russell Keith-Magee
On Tue, Feb 23, 2010 at 1:26 PM, Jesus Mager wrote: > Hi all! > > My name is Jesus Mager, and I'm student at the National Autonomous > University of Mexico.I am interested in  in taking part of Google > Summer of Code for the diango project. > The Customizable Serialization sound a good idea. Djan

Re: Question for Django ORM developers

2010-02-23 Thread Russell Keith-Magee
On Wed, Feb 24, 2010 at 12:20 AM, P.R. wrote: > Hello, > > I have question about type of design patterns using in Django ORM. It > is: Table Data Gateway, Row Data Gateway, Active Record or Data > Mapper? .. Personally I think that it's mix of Row Data Gateway and > Data Mapper, but I want to ask

Re: Customizable Serialization Idea -GSoC

2010-02-23 Thread Alex Gaynor
On Tue, Feb 23, 2010 at 12:26 AM, Jesus Mager wrote: > Hi all! > > My name is Jesus Mager, and I'm student at the National Autonomous > University of Mexico.I am interested in  in taking part of Google > Summer of Code for the diango project. > The Customizable Serialization sound a good idea. Dja

Re: Deprecating cmemcache, adding pylibmc

2010-02-23 Thread Mat Clayton
On Tue, Feb 23, 2010 at 2:41 AM, Mike Malone wrote: > > At this point in the release process, I'm not sure we can do > > everything that's being talked about in this thread. Given that we're > > feature-frozen and that there's no way we can spring a completely new > > cache backend on people at t

Customizable Serialization Idea -GSoC

2010-02-23 Thread Jesus Mager
Hi all! My name is Jesus Mager, and I'm student at the National Autonomous University of Mexico.I am interested in in taking part of Google Summer of Code for the diango project. The Customizable Serialization sound a good idea. Django have actually a really fine system, so we can handle xml, jso

Re: EmailBackends

2010-02-23 Thread Mat Clayton
On Tue, Feb 23, 2010 at 8:01 AM, Russell Keith-Magee wrote: > On Tue, Feb 23, 2010 at 8:08 AM, Mat Clayton wrote: > > Sorry I probably didn't explain this properly. A composite backend is > half > > the solution, the other part of the problem is deciding which backend to > > use. This decision i

Conditional block statements

2010-02-23 Thread joep
This is in regard to this ticket, http://code.djangoproject.com/ticket/10975, which states, in response to the user's complaint, that 'A block cannot be defined conditionally within any sort of "if" construct, and this is by design; the structure of the template is the structure of the template. '

Question for Django ORM developers

2010-02-23 Thread P.R.
Hello, I have question about type of design patterns using in Django ORM. It is: Table Data Gateway, Row Data Gateway, Active Record or Data Mapper? .. Personally I think that it's mix of Row Data Gateway and Data Mapper, but I want to ask You guys for sure :-) Thanks, regards, P.R. -- You rece

Re: EmailBackends

2010-02-23 Thread Mat Clayton
On Tue, Feb 23, 2010 at 7:23 AM, Andi Albrecht wrote: > While discussing the implementation details of the email backends, Russel > came up with a nice view on this topic: "If you have highly specialized mail > requirements, then it makes sense that you should have a highly specialized > mail ser

Re: EmailBackends

2010-02-23 Thread Russell Keith-Magee
On Tue, Feb 23, 2010 at 8:08 AM, Mat Clayton wrote: > Sorry I probably didn't explain this properly. A composite backend is half > the solution, the other part of the problem is deciding which backend to > use. This decision in our case needs to be made where mail.send() is called. > Either I coul