From 5c3c84fd07a65047d7840dbff6e074f96597afa0 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Tue, 31 Dec 2019 12:08:50 +0000 Subject: [PATCH] CHORE: pep8 And another random bit of wierd whitespace I found --- RIGS/templates/RIGS/index.html | 3 +-- RIGS/versioning.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/RIGS/templates/RIGS/index.html b/RIGS/templates/RIGS/index.html index 826839e6..acd1a707 100644 --- a/RIGS/templates/RIGS/index.html +++ b/RIGS/templates/RIGS/index.html @@ -72,9 +72,8 @@ {% if perms.RIGS.view_event %} -
+
{% include 'RIGS/activity_feed.html' %} -
{% endif %}
diff --git a/RIGS/versioning.py b/RIGS/versioning.py index b6542e58..795ea9fe 100644 --- a/RIGS/versioning.py +++ b/RIGS/versioning.py @@ -207,7 +207,7 @@ class VersionHistory(generic.ListView): def get_queryset(self, **kwargs): return RIGSVersion.objects.get_for_object(self.get_object()).select_related("revision", "revision__user").all() - + def get_object(self, **kwargs): return get_object_or_404(self.kwargs['model'], pk=self.kwargs['pk'])