Re: Question about the PlaceholderAdminMixin for a model using placeholder fields

2020-06-10 Thread Jacob Rief
As far as I know, you need this, when using the templatetag 
render_placeholder in one of the templates rendering an object with its 
placeholderfield.
Otherwise Django-CMS does not know how to handle the structure mode, etc.

-- 
Message URL: 
https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id
Unsubscribe: send a message to 
django-cms-developers+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"django CMS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-cms-developers+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-cms-developers/194e05d4-4aa1-424c-b972-f0e9739d587bo%40googlegroups.com.


Question about the PlaceholderAdminMixin for a model using placeholder fields

2020-05-22 Thread David Bertrand
I gather from the docs that you must use the PlaceholderAdminMixin on any 
model on which you choose to add PlaceholderFields.
http://docs.django-cms.org/en/latest/how_to/placeholders.html

It's not entirely clear what the consequence of not doing that is but from 
digging around the github issues, it seems something to do with staff 
permissions on editing the model in the admin? In my case, however, the 
model in question doesn't have it's own ModelAdmin but instead is an inline 
on a separate model. Anyone know if this is going to cause issues down the 
line and if so, how to address this use case?

Thanks for any help.

-- 
Message URL: 
https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id
Unsubscribe: send a message to 
django-cms-developers+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"django CMS developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-cms-developers+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-cms-developers/8e3aee5e-b6ec-4452-8354-b25896dd9398%40googlegroups.com.