f7c094d0d87dcc1e0b734dd724972b78b3b64135
[auf_paf.git] / paf / util.py
1 # -*- coding: utf8 -*-
2 from django.contrib.auth.models import User, Group
3
4 def user_is_student(user):
5 return user.groups.filter(name='student')
6