Skip to content

Commit ad9ecd6

Browse files
committed
Document description of revert_url
1 parent 99735ea commit ad9ecd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simple_history/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def get_extra_fields(self, model, fields):
162162

163163
@models.permalink
164164
def revert_url(self):
165+
"""URL for this change in the default admin site."""
165166
opts = model._meta
166167
try:
167168
app_label, model_name = opts.app_label, opts.module_name

0 commit comments

Comments
 (0)