NeXuS
NeXuS

Reputation: 1797

django-cms not loading custom menus

I have already followed once the instructions at http://docs.django-cms.org/en/latest/how_to/menus.html# in order to customize my menu, and everything worked smoothly.

Now I am trying to replicate the same thing in a new project: I created cms_menus.py in the app directory (the same where settings.py is stored) but django-cms just ignores it: it does not even get compiled.

My django and django-cms versions are as follows:

Any clues or suggestions on how to debug the issue?

UPDATE: Here is my project tree, I have removed non pertinent entries

.
├── cms
│   ├── bin
│   │   ├── activate
│   │   ├── activate.csh
│   │   ├── activate.fish
│   │   ├── activate_this.py
│   │   ├── django-admin
│   │   ├── ...
│   │   └── wheel
│   ├── include
│   ├── lib
│   ├── local
│   └── pip-selfcheck.json
├── h2h
│   ├── db.sqlite3
│   ├── h2h
│   │   ├── cms_menus.py
│   │   ├── cms_plugins.py
│   │   ├── __init__.py
│   │   ├── __init__.pyc
│   │   ├── __pycache__
│   │   ├── settings.py
│   │   ├── settings.pyc
│   │   ├── urls.py
│   │   ├── urls.pyc
│   │   ├── views.py
│   │   ├── views.pyc
│   │   ├── wsgi.py
│   │   └── wsgi.pyc
│   ├── manage.py
│   ├── static
│   └── templates
└── requirements_new.txt

Upvotes: 0

Views: 394

Answers (1)

NeXuS
NeXuS

Reputation: 1797

OK, now I feel really stupid. Notice to self: always check INSTALLED_APPS before posting questions on StackOverflow. I.e. the app name was missing from the list.

Upvotes: 0

Related Questions