mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 07:22:14 +00:00
Rename EvenRevision EventDiff to be more concise.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user