Re: Class-based view decorators

2012-02-21 Thread Tobia
t decorators to mixins as needed. I have attached it to the issue https://code.djangoproject.com/ticket/14512 in case someone wants to use it or augment the current documentation with it. -Tobia -- You received this message because you are subscribed to the Google Groups "Dja

Newline stripping in templates: the dnl way

2012-02-24 Thread Tobia
not going to break anything. The existing comment syntax {# ... #} is already restricted to single-line comments, so there are no multi-line comments that would break. Plus, I'd wager it could be implemented quite efficiently. What do you think? Tobia -- You received this message because you

Re: Newline stripping in templates: the dnl way

2012-02-24 Thread Tobia
e forward-compatible than my proposal above and it would solve more whitespace problems, if not all. Tobia -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To

Re: Newline stripping in templates: the dnl way

2012-02-27 Thread Tobia
Jonathan French wrote: > Let me make sure I've got this right --- The situation being discussed is > not where whitespace is insignificant and can be stripped, but where > whitespace is important and you want to control the exact amount of it, > e.g. plain text emails. In this case, just using stri

Class-based view decorators

2012-02-17 Thread Tobia Conforto
eloping they seem to be working ok--and saved me quite a bit of code clutter! If you approve of this addition, I will develop proper unit tests and documentation as required. -Tobia -- You received this message because you are subscribed to the Google Groups "Django developers&q