Ignore:
Timestamp:
Mar 22, 2013, 8:09:13 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
b8172c8
Parents:
172255b
git-author:
Alex Dehnert <adehnert@…> (03/22/13 08:09:13)
git-committer:
Alex Dehnert <adehnert@…> (03/22/13 08:09:13)
Message:

Update for reversion 1.7(?)

reversion removed some deprecated APIs that we were still using. Stop using
them. See https://diswww.mit.edu/menelaus/asa-db/7211.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/views.py

    r7b00af8 r5260840  
    10131013        if 'pk' in self.kwargs:
    10141014            group = get_object_or_404(groups.models.Group, pk=self.kwargs['pk'])
    1015             history_entries = reversion.models.Version.objects.get_for_object(group)
     1015            history_entries = reversion.get_for_object(group)
    10161016        else:
    10171017            history_entries = reversion.models.Version.objects.all()
Note: See TracChangeset for help on using the changeset viewer.