Skip to content

Commit

Permalink
Merge pull request django-cms#4148 from FinalAngel/develop
Browse files Browse the repository at this point in the history
Docs: adds missing import
  • Loading branch information
yakky committed Jun 4, 2015
2 parents cde84d2 + 58ac9a7 commit dc80fb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/introduction/menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ What's happening here:
This menu class is not active until attached to the apphook we created earlier.
So open your ``cms_app.py`` and add::

from polls_plugin.menu import PollsMenu

for importing ``PollsMenu`` and

menus = [PollsMenu]

to the ``PollsApp`` class.
Expand Down

0 comments on commit dc80fb2

Please sign in to comment.