class Quiz(models.Model):
    title = models.CharField(max_length=64)


class Meta:
    permissions = ('can_take_quiz', 'Can take quiz'), ('can_grade_quiz',
        'Can Grade Quiz')
Django user groups with decorators vs permission