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:
About the author
Vláďa Macek
During his software engineering studies at Czech Technical University in Prague, Vlada’s love of things simple, straightforward and elegant attracted him to UNIX and led him towards a career as a full-time system administrator. Upon discovering …