Rename EvenRevision EventDiff to be more concise.

This commit is contained in:
Tom Price
2015-04-25 19:08:48 +01:00
parent b5b8b0918b
commit 9eabc60d04
2 changed files with 6 additions and 5 deletions

View File

@@ -233,7 +233,7 @@ class EventRevisions(generic.ListView):
return context
class EventRevision(generic.TemplateView):
class EventDiff(generic.TemplateView):
model = reversion.revisions.Revision
template_name = "RIGS/event_detail.html"
@@ -256,6 +256,7 @@ class EventRevision(generic.TemplateView):
html = html.replace("¶", "")
diff[field] = html
context = {
'object': diff,
'event': diff