Browse Source

Update forms.py (#2071)

pull/2075/head
Talitha Pumar 7 years ago
committed by Edward
parent
commit
4dd3a55ae3
  1. 4
      sapl/base/forms.py

4
sapl/base/forms.py

@ -44,7 +44,9 @@ STATUS_USER_CHOICE = [
def get_roles():
return [(g.id, g.name) for g in Group.objects.all().order_by('name')]
roles = [(g.id, g.name) for g in Group.objects.all().order_by('name')
if g.name != 'Votante' and g.name != 'Autor']
return roles
class UsuarioCreateForm(ModelForm):

Loading…
Cancel
Save