Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'official/master'
Browse files Browse the repository at this point in the history
* official/master:
  Update docs to mention modeladmins
  • Loading branch information
matthiask committed Apr 12, 2014
2 parents 1016afc + 60758f1 commit a0e392a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/page.rst
Expand Up @@ -156,7 +156,7 @@ cluttering up the core page model for those who do not need them. The extensions
are standard python modules with a :func:`register` method which will be called
upon registering the extension. The :func:`register` method receives the
:class:`~feincms.module.page.models.Page` class itself and the model admin class
:class:`~feincms.module.page.models.PageAdmin` as arguments. The extensions can
:class:`~feincms.module.page.modeladmins.PageAdmin` as arguments. The extensions can
be activated as follows::

Page.register_extensions('feincms.module.page.extensions.navigation',
Expand Down
3 changes: 2 additions & 1 deletion docs/versioning.rst
Expand Up @@ -19,7 +19,8 @@ Now, you need to create your own model admin subclass inheriting from both
FeinCMS' ``PageAdmin`` and from reversions ``VersionAdmin``::

from django.contrib import admin
from feincms.module.page.models import Page, PageAdmin
from feincms.module.page.models import Page
from feincms.module.page.modeladmins import PageAdmin
from reversion.admin import VersionAdmin

admin.site.unregister(Page)
Expand Down

0 comments on commit a0e392a

Please sign in to comment.