Première version en Python-Django.
[auf_paf.git] / paf / util.py
CommitLineData
0ba28d89 1# -*- coding: utf8 -*-
2from django.contrib.auth.models import User, Group
3
4def user_is_student(user):
5 return user.groups.filter(name='student')
6