Changeset 9af1bb4


Ignore:
Timestamp:
Jun 3, 2013, 6:04:32 AM (12 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
1e08e97
Parents:
c4282e2
git-author:
Alex Dehnert <adehnert@…> (06/03/13 06:01:26)
git-committer:
Alex Dehnert <adehnert@…> (06/03/13 06:04:32)
Message:

Don't add NGEs to asa-official (ASA-#231)

We decided we don't want to add NGEs to asa-official (or, presumably,
finboard-groups or gsc-fb-). This changes the diff script to not add them. The
actual removal will be done when we sync (and we haven't recognized tons of
NGEs yet anyway).

Location:
asadb/groups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/diffs.py

    rafc5348 r9af1bb4  
    244244
    245245def default_active_pred():
    246     status_objs = groups.models.GroupStatus.objects.filter(slug__in=['active', 'suspended', 'nge'])
     246    status_objs = groups.models.GroupStatus.objects.filter(slug__in=['active', 'suspended', ])
    247247    status_pks = [status.pk for status in status_objs]
    248248    def pred(version, fields):
  • asadb/groups/listdiff.py

    r3bd5839 r9af1bb4  
    1616
    1717def get_lists():
    18     status_objs = groups.models.GroupStatus.objects.filter(slug__in=['active', 'suspended', 'nge'])
     18    status_objs = groups.models.GroupStatus.objects.filter(slug__in=['active', 'suspended', ])
    1919    active_groups = groups.models.Group.objects.filter(group_status__in=status_objs)
    2020    funded_groups = active_groups.filter(group_class__slug='mit-funded')
Note: See TracChangeset for help on using the changeset viewer.