Hi,

I seem unable to find any concrete information about rendering an excerpt 
for my custom model's PlaceholderFields. Is there any recommended way to do 
this? I hoped there would be an API for doing so, but unfortunately I 
cannot find such a thing.

At the moment all I can find is the ContentRenderer class in the 
cms.plugin_rendering module. Then I'd first need to instantiate a 
ContentRenderer with a Request, and then call its render_placeholder() 
method which needs a Context. Surely there must be an easier way?

-- 
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/6731aa2d-1149-4055-b31b-7c19f342acd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to