10 posts in category Pro Tip
First off, realtime websites are hard. The current toolset is rudimentary. When I first started building Ginger, I thought I must be doing it wrong because of all the trial-and-error and pieces I was building from scratch. After watching Geoff Schmidt’s keynote at DjangoCon ...
The recommended way to add decorators such as login_required to class based views in Django is a bit verbose. Here’s a little metaclass-producing function you may find handy:def DecoratedDispatchMethod(actual_decorator): """ If you want to decorate the Class-based View with, say, login_required, the recommended ...