Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samluescher committed Sep 27, 2011
1 parent cfc6610 commit 135db1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ settings.py::
# default is 10 pixels
MPTT_ADMIN_LEVEL_INDENT = 20

If you'd like to specify the pixel amount per Model, define an `mptt_level_indent`
attribute in your MPTTModelAdmin:
If you'd like to specify the pixel amount per Model, define an ``mptt_level_indent``
attribute in your MPTTModelAdmin::

from django.contrib import admin
from mptt.admin import MPTTModelAdmin
Expand All @@ -40,8 +40,8 @@ attribute in your MPTTModelAdmin:

admin.site.register(Node, CustomMPTTModelAdmin)

If you'd like to specify which field should be indented, add an `mptt_indent_field`
to your MPTTModelAdmin:
If you'd like to specify which field should be indented, add an ``mptt_indent_field``
to your MPTTModelAdmin::

# …
class CustomMPTTModelAdmin(MPTTModelAdmin)
Expand Down

0 comments on commit 135db1c

Please sign in to comment.