Re: RFC: "universal" view decorators

2013-06-08 Thread Hanne Moa
On 3 June 2013 18:09, wrote: > # `DecoratorMixin` > > `DecoratorMixin` is a class factory that converts any view decorator into > a class-based view mixin. > > Using it is easy and intuitive: > > LoginRequiredMixin = DecoratorMixin(login_required) > Now this, this feels pythonic. Bravo! I'm

Re: RFC: "universal" view decorators

2013-06-08 Thread Donald Stufft
On Jun 8, 2013, at 12:48 PM, Hanne Moa wrote: > On 3 June 2013 18:09, wrote: > # `DecoratorMixin` > > `DecoratorMixin` is a class factory that converts any view decorator into a > class-based view mixin. > > Using it is easy and intuitive: > > LoginRequiredMixin = DecoratorMixin(login_

Question on Template Tags

2013-06-08 Thread Dave Finnerty
I have been trying to get templates tags working so I can make a sidebar tag. using inclusion_tag. when templatetags is in the app it works cooreectly Project | |--app01 |-templatetags | |--templates but when I try to move it to a second app and use it in the first app i g

Re: Question on Template Tags

2013-06-08 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fro