mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Tidied up
This commit is contained in:
@@ -192,12 +192,6 @@ class EventRevisions(generic.ListView):
|
||||
model = reversion.revisions.Version
|
||||
template_name = "RIGS/event_version_list.html"
|
||||
|
||||
# def get_queryset(self):
|
||||
# thisEvent = get_object_or_404(models.Event, pk=self.kwargs['pk'])
|
||||
# items = reversion.get_for_object(thisEvent)
|
||||
# #logger.info('There are '+items[0].date_created)
|
||||
# return items
|
||||
|
||||
def compare(self, obj1, obj2, excluded_keys=[]):
|
||||
d1, d2 = obj1, obj2
|
||||
key, old, new = [],[],[]
|
||||
|
||||
Reference in New Issue
Block a user