Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django CMS - Placeholder for edit mode

Is there a placeholder that indicates if the page is in edit mode or not? Something like

{% is_edit_mode %}?

I couldn't find anything in djangocms documentation.

like image 363
eyettea Avatar asked Dec 01 '22 16:12

eyettea


1 Answers

in 3.0: {{ request.toolbar.edit_mode }}

like image 105
digi604 Avatar answered Dec 21 '22 05:12

digi604