Integrating CMS 2.3 with Django 1.4

1.4k views Asked by At

Hi I have got the following Error on runserver a simple CMS integration :

""" django.core.exceptions.ImproperlyConfigured: The 'js' and 'css' sekizai namespaces must be present in each template, - or a template it inherits from - defined in CMS_TEMPLATES. I can't find the namespaces in 'template_2.html'. """

I have followed --- http://docs.django-cms.org/en/latest/getting_started/tutorial.html#sekizai-namespaces ---- this method

Can anyone suggest what went wrong .

I have added

{% load cms_tags sekizai_tags %}  
<@html> 
<@head>   
 {% render_block "css" %}   
 <@/head>   
<@body>  
{% cms_toolbar %}      


 {% placeholder base_content %}   


{% block base_content %}

{% endblock %}



{% render_block "js" %}   



<@/body>
<@/html>

this to the base.html , but showing the above error .

Thanks.

1

There are 1 answers

5
Jubin Thomas On

Please provide settings.py configuration.

Try pip freeze -r > requirements.txt . Make sure that sekizai is in that list.