Luke,
Good points, especially about wrapping decorators *after* instantiation to
avoid the whole nasty self issue.
While I personally don't mind meta classes at all, I understand why some
people do.
I think you are probably on the right track here.
_Nick_
On Thu, May 13, 2010 at 4:08 AM, Luke
Hi,
I'm working with a company that uses and maintains a commercial Django-based
commercial system, which requires reliable transactional integrity across
groups of database operations in a number of places (financial transfers,
and so on).
I've been investigating how Django's transaction managem
On Thursday 13 May 2010 01:14:35 fitzgen wrote:
> * How to decorate the __call__ method without doing a pointless
> override of __call__ that just calls super so that you have
> something to @decorate on top of. Check out the meta class on line
> 175. This allows you to specify 'decorators = [logi
On 13 touko, 03:14, fitzgen wrote:
> * How to deal with state and self. I have written an instantiator that
> wraps the view class and instantiates a new instance of the class for
What about class method "instantiator"? It does have one extra nicety,
it does not need to be imported as one imports
Le 12 mai 2010 à 22:16, Ben Firshman a écrit :
>
> On 11 May 2010, at 01:37, Russell Keith-Magee wrote:
>>
>>
>> Are class-based views planned for 1.3? Well, we haven't done any
>> formal planning for 1.3 yet, but I'm going to guess that the 1.3 high
>> priority feature list will essentially b
On Thu, May 13, 2010 at 3:36 PM, Siebert, Maria
wrote:
> Hi,
>
> I don't want to get it into the django project itself, so I'm sorry, if I
> choose the wrong ml. I'm searching
> for informations how to build such a project for other developers, like,
> where should this sources be
> installed to
Hi,
I don't want to get it into the django project itself, so I'm sorry, if I
choose the wrong ml. I'm searching
for informations how to build such a project for other developers, like, where
should this sources be
installed to. With most external projects I found and tried out myself I had
p