Ticket #9032: admin.diff

File admin.diff, 1.0 KB (added by rduffield, 16 years ago)
  • docs/ref/contrib/admin.txt

     
    4141
    4242The ``ModelAdmin`` class is the representation of a model in the admin
    4343interface. These are stored in a file named ``admin.py`` in your application.
    44 Let's take a look at a very simple example the ``ModelAdmin``::
     44Let's take a look at a very simple example of the ``ModelAdmin``::
    4545
    4646    from django.contrib import admin
    4747    from myproject.myapp.models import Author
     
    145145            'classes': ['wide', 'extrapretty'],
    146146            }
    147147
    148         Two useful classes defined by the default admin-site stylesheet are
     148        Two useful classes defined by the default admin site stylesheet are
    149149        ``collapse`` and ``wide``. Fieldsets with the ``collapse`` style will
    150150        be initially collapsed in the admin and replaced with a small
    151151        "click to expand" link. Fieldsets with the ``wide`` style will be
Back to Top