Skip to content

Instantly share code, notes, and snippets.

View juanhenaoparra's full-sized avatar
🏠
Working from home

Juan Sebastian Henao Parra juanhenaoparra

🏠
Working from home
View GitHub Profile
@ceolson01
ceolson01 / mixins.py
Created March 19, 2016 15:05
Django Group Required Mixin
from django.core.exceptions import PermissionDenied
class GroupRequiredMixin(object):
"""
group_required - list of strings, required param
"""
group_required = None