Heroku: Django CMS Toolbar Not Showing

148 views
Skip to first unread message

Brandon Culpepper

unread,
Jun 5, 2016, 11:51:28 AM6/5/16
to django CMS developers
I have a site that is running just fine in my local Vagrant / Virtualbox (Unbuntu Trusty 64) setup. When I deploy to Heroku I am unable to get the cms toolbar to show up. I can login to the admin and use it as intended with no issue but when I go to a page and try and edit using /?edit the page just reloads and no tool bar is available for me to edit page content or structure.

I have verified that both my local and Heroku setups are using the same version of all apps and plugins.

Python Version: 2.7.11
Django Version: 1.9.6
DjangoCMS Version: 3.3.0 rc3

Once the code is deployed using git push I run and pgdump and restore to get all the data up to my Heroku instance.

Any ideas what I could be doing wrong? Has anyone else had any luck running DjangoCMS on Heroku?

Thanks for the help!

Brandon Culpepper

Brandon Culpepper

unread,
Jun 5, 2016, 6:10:36 PM6/5/16
to django CMS developers
Resolved:

Set INTERNAL_IPS to empty list.

John-Scott

unread,
Jun 5, 2016, 8:04:13 PM6/5/16
to django CMS developers
The issue is documented here => https://github.com/divio/django-cms/issues/5344

It appears CMS_INTERNAL_IPS defaults to Django's INTERNAL_IPS, but this wasn't clearly documented, resulting in many of us being locked out of being able to edit our sites.

If you need to use INTERNAL_IPS for reasons unrelated to CMS toolbar access, you can set CMS_INTERNAL_IPS = [] instead.
Message has been deleted

czpython

unread,
Jun 14, 2016, 10:26:04 AM6/14/16
to django CMS developers
Hello Aravind,

Please post more information.

Tracebacks, Django version, CMS version, etc.

Martin Koistinen

unread,
Jun 14, 2016, 1:52:29 PM6/14/16
to django CMS developers
This should be fixed in the repo on the branch release/3.3.x as of now.


On Sunday, June 5, 2016 at 11:51:28 AM UTC-4, Brandon Culpepper wrote:
Reply all
Reply to author
Forward
0 new messages