https://github.com/divio/django-cms/blob/develop/cms/cms_toolbar.py#L33
and
https://github.com/divio/django-cms/blob/develop/cms/cms_toolbar.py#L42

I preserved this behavior from develop.