Skip to content

Commit

Permalink
Fixing flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Aug 31, 2020
1 parent 1a01b9e commit 4aea4ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion reversion/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ def get_urls(self):
reversion_urls = [
re_path(r"^recover/$", admin_site.admin_view(self.recoverlist_view), name='%s_%s_recoverlist' % info),
re_path(r"^recover/(\d+)/$", admin_site.admin_view(self.recover_view), name='%s_%s_recover' % info),
re_path(r"^([^/]+)/history/(\d+)/$", admin_site.admin_view(self.revision_view), name='%s_%s_revision' % info),
re_path(
r"^([^/]+)/history/(\d+)/$",
admin_site.admin_view(self.revision_view),
name='%s_%s_revision' % info,
),
]
return reversion_urls + urls

Expand Down

0 comments on commit 4aea4ba

Please sign in to comment.