Ticket #9067: 9067.diff
File 9067.diff, 685 bytes (added by , 16 years ago) |
---|
-
docs/ref/contrib/admin.txt
50 50 pass 51 51 admin.site.register(Author, AuthorAdmin) 52 52 53 Since the ``AuthorAdmin`` class is not customizing any of the ``ModelAdmin`` 54 options as decribed below, it inherits all the defaults. If the defaults are 55 good enough, there is a shortened version that accomplishes the same thing:: 56 57 from django.contrib import admin 58 from myproject.myapp.models import Author 59 60 admin.site.register(Author) 61 53 62 ``ModelAdmin`` Options 54 63 ---------------------- 55 64