Changeset bf11775 for asadb/forms


Ignore:
Timestamp:
Nov 22, 2011, 2:23:19 AM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
055a7e9
Parents:
a34597e
git-author:
Alex Dehnert <adehnert@…> (11/22/11 02:23:19)
git-committer:
Alex Dehnert <adehnert@…> (11/22/11 02:23:19)
Message:

Allow suspended groups to fill out the update form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    rca21c49 rbf11775  
    230230
    231231class Form_GroupMembershipUpdate(ModelForm):
    232     group = ModelChoiceField(queryset=groups.models.Group.active_groups.all())
     232    group = ModelChoiceField(queryset=groups.models.Group.objects.filter(group_status__slug__in=['active', 'suspended', ]))
    233233
    234234    def __init__(self, *args, **kwargs):
Note: See TracChangeset for help on using the changeset viewer.