divio/django-cms — pull request #2505 by DylannCordel (2014-01-23 09:40:21+00:00)
Title: Issue #2343 : Option to prepopulate a placeholder

Hi,

This is some code, test and doc for the issue #2343 to add default contents to a placeholder. To use it :

```python
CMS_PLACEHOLDER_CONF = {
'content': {
'plugins': ['TextPlugin',],
'default_plugins':[
{
'plugin_type':'TextPlugin',
'value':{'body':'

Lorem ipsum dolor sit amet...

'},
},
]
},
}```

I don't think the assign_plugins function is the best place to do that, so I would be happy if you could advice me (I'm a newbie with Django, Django CMS and Python ^^)