Skip to content

Commit

Permalink
Formatting changes for object urls
Browse files Browse the repository at this point in the history
  • Loading branch information
shabda committed Feb 20, 2018
1 parent 5687321 commit bbd4a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/object_url.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ The :code:`reverse('admin:{}_{}_change'.format(obj._meta.app_label, obj._meta.mo

The other options are

* Delete: reverse('admin:{}_{}_delete'.format(obj._meta.app_label, obj._meta.model_name), args=(child.pk,))
* History: reverse('admin:{}_{}_history'.format(obj._meta.app_label, obj._meta.model_name), args=(child.pk,))
* Delete: :code:`reverse('admin:{}_{}_delete'.format(obj._meta.app_label, obj._meta.model_name), args=(child.pk,))`
* History: :code:`reverse('admin:{}_{}_history'.format(obj._meta.app_label, obj._meta.model_name), args=(child.pk,))`

0 comments on commit bbd4a83

Please sign in to comment.