CHORE: pep8

And another random bit of wierd whitespace I found
This commit is contained in:
2019-12-31 12:08:50 +00:00
parent 5054858585
commit 5c3c84fd07
2 changed files with 2 additions and 3 deletions

View File

@@ -72,9 +72,8 @@
</div>
</div>
{% if perms.RIGS.view_event %}
<div class="col-sm-6" >
<div class="col-sm-6">
{% include 'RIGS/activity_feed.html' %}
</div>
{% endif %}
</div>

View File

@@ -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'])