Re: Template conceptual help

2009-11-12 Thread Maksymus007
> Yeps, I just knew I had already seens something like that > somewhere !-) > > Ok, problem solved then. yep :) > >> Your solution is way cool, but again, its violates DRY - >> additional code in every view (can be probably ommited by decorators, > > Indeed. > >> but still, the same decorator for

Re: Template conceptual help

2009-11-12 Thread bruno desthuilliers
On 12 nov, 14:01, Maksymus007 wrote: (snip) > Well, yes, messages,html can be split into several files and then > app_messages.html can include them in order. But then every > app_messages.html must include them, which, in fact, is just > copy-paste messages.html with different {%extends %} > a

Re: Template conceptual help

2009-11-12 Thread Maksymus007
On Thu, Nov 12, 2009 at 1:31 PM, bruno desthuilliers wrote: > On 12 nov, 12:16, Maksymus007 wrote: >> I have some problem with templates and separating templates blocks. >> >> There is a list of messages. Some properties are common, some are >> application specific. >> Properties are just html co

Re: Template conceptual help

2009-11-12 Thread bruno desthuilliers
On 12 nov, 12:16, Maksymus007 wrote: > I have some problem with templates and separating templates blocks. > > There is a list of messages. Some properties are common, some are > application specific. > Properties are just html columns :) > > I got following templates > main.html -> basic "frame",