Django 1.10 is out

This commit is contained in:
Guilhem Saurel 2016-08-01 21:31:56 +02:00
parent e7d26b6dde
commit 0bde350b15
2 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@ def generate_user_uid():
def is_orga(request, user):
return user.is_authenticated() and user.participation_set.get(site=get_current_site(request)).is_orga()
return user.is_authenticated and user.participation_set.get(site=get_current_site(request)).is_orga()
def is_staff(request, user):
return user.is_authenticated() and user.participation_set.get(site=get_current_site(request)).is_staff()
return user.is_authenticated and user.participation_set.get(site=get_current_site(request)).is_staff()
def can_edit_profile(request, profile):

View File

@ -1,4 +1,4 @@
django<1.10
django<1.11
django-autoslug
django-bootstrap3
django-bower