Small admin documentation fix.

fix_request_path_info
Ben Konrath 2012-12-10 15:41:45 +01:00
parent 28b8885236
commit eee5dda5ba
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ Example
child_models = ( child_models = (
(ModelB, ModelBAdmin), (ModelB, ModelBAdmin),
(ModelC, ModelCAdmin), (ModelC, ModelCAdmin),
} )
# Only the parent needs to be registered: # Only the parent needs to be registered:
admin.site.register(ModelA, ModelAParentAdmin) admin.site.register(ModelA, ModelAParentAdmin)