Skip to content

Commit

Permalink
Merge pull request #149 from kelseyq/master
Browse files Browse the repository at this point in the history
add base_model declaration to child models in admin docs example (docfix)
  • Loading branch information
vdboor committed Aug 4, 2015
2 parents 7a29c39 + ad45e9d commit f1a9181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ The models are taken from :ref:`advanced-features`.
class ModelBAdmin(ModelAChildAdmin):
base_model = ModelB
# define custom features here
class ModelCAdmin(ModelBAdmin):
base_model = ModelC
# define custom features here
Expand Down

0 comments on commit f1a9181

Please sign in to comment.