Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them, it only takes a minute:

I got the same error 3 times already, before I didn't find the solution in Google nor here, and I guess I'm not the only one who got it.

From a fresh installation, I install at the same time the django-cms plugin an many of its plugins.

After running

python manage.py makemigrations
python manage.py migrate

I get this error: django.db.utils.ProgrammingError: relation "cms_cmsplugin" does not exist

share|improve this question

3 Answers 3

Yeah I resolved this issue....the main thing was that i was using django 1.7 and by default it was trying to run south migrations so in order to resolve that i just added this to MIGRATION_MODULE under the settings.py: 'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django',

This will explicitly tell the framework to run migrations instead of south migrations. Since the main issue was djangocms_text_ckeditor's table was not getting created under the db

share|improve this answer

I'm not familiar with the specific issue, but sometimes going to migrations folder in your app

(app->migrations) and deleting all the files except the __init__ files and running python manage.py migrate helped me.

share|improve this answer
    
Man, I'm not sure why they vote you down, I didn't try your solution but it should work if you do it first in the django_cms' folder. – dadiaar Aug 29 at 7:59

Well, what I do is to remove all cms plugins except 'cms' itself, run python manage.py migrate add again all plugins and alter, again, python manage.py migrate

It seems that Django tries to create the tables for the plugins before the 'cms' app's one

As you see it's not a big deal if you just know it.

Usually people will install them one by one, but if you do it with pip from requirements.txt or similar, you will face this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.