Skip to content

Commit

Permalink
Merge pull request #21 from jciskey/patch-4
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
shabda committed Feb 27, 2018
2 parents e8a9c76 + 29782e8 commit 5d8ef1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/boolean_fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Which looks like this

.. image:: filter_calculated_fixed.png

The :code:`is_very_benevolent` field show the string `True` and `False`, unlike the builin BooleanFields which show an on and off indicator.
The :code:`is_very_benevolent` field shows the string `True` and `False`, unlike the builtin BooleanFields which show an on and off indicator.
To fix this, you add a :code:`boolean` attribute on your method. You final modeladmin looks like this::

@admin.register(Hero)
Expand Down

0 comments on commit 5d8ef1a

Please sign in to comment.