3

Am Using django 1.3 and django-cms 2.2 and when i run i get an error as follows:

django.template.base.TemplateSyntaxError: 'cms_tags' is not a valid tag library: ImportError raised loading cms.templatetags.cms_tags: cannot import name six

Charles
  • 50,943
  • 13
  • 104
  • 142

2 Answers2

4

Just ran into this same error, the six import error is being caused by an incompatible version of django-mptt. This should do the trick:

$ pip install django-mptt==0.5.2
respondcreate
  • 1,780
  • 1
  • 20
  • 23
2

You should have Django version >=1.4.5. It worked for me.

Nilesh
  • 2,407
  • 1
  • 12
  • 20