{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/4123","labels_url":"https://api.github.com/repos/divio/django-cms/issues/4123/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/4123/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/4123/events","html_url":"https://github.com/divio/django-cms/issues/4123","id":79461461,"number":4123,"title":"manage.py migrate fails on 3.1","user":{"login":"marty3d","id":738293,"avatar_url":"https://avatars.githubusercontent.com/u/738293?v=3","gravatar_id":"","url":"https://api.github.com/users/marty3d","html_url":"https://github.com/marty3d","followers_url":"https://api.github.com/users/marty3d/followers","following_url":"https://api.github.com/users/marty3d/following{/other_user}","gists_url":"https://api.github.com/users/marty3d/gists{/gist_id}","starred_url":"https://api.github.com/users/marty3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marty3d/subscriptions","organizations_url":"https://api.github.com/users/marty3d/orgs","repos_url":"https://api.github.com/users/marty3d/repos","events_url":"https://api.github.com/users/marty3d/events{/privacy}","received_events_url":"https://api.github.com/users/marty3d/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/divio/django-cms/labels/kind:%20bug","name":"kind: bug","color":"c7def8"},{"url":"https://api.github.com/repos/divio/django-cms/labels/status:%20accepted","name":"status: accepted","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/divio/django-cms/milestones/32","html_url":"https://github.com/divio/django-cms/milestones/3.1.x","labels_url":"https://api.github.com/repos/divio/django-cms/milestones/32/labels","id":1007076,"number":32,"title":"3.1.x","description":"Bugfixing for the 3.1 branch","creator":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":22,"state":"open","created_at":"2015-03-05T07:27:18Z","updated_at":"2015-06-01T17:39:12Z","due_on":"2015-05-28T22:00:00Z","closed_at":null},"comments":12,"created_at":"2015-05-22T13:45:39Z","updated_at":"2015-06-01T17:50:22Z","closed_at":null,"body":"I have two different sites running django-cms 3.0.13 (Django 1.7.8) and when I try to upgrade them, I get the following:\r\n\r\n\t$ python manage.py migrate\r\n\t/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/cmsplugin_filer_utils/__init__.py:5: RemovedInDjango18Warning: `FilerPluginManager.get_query_set` method should be renamed `get_queryset`.\r\n\t  class FilerPluginManager(models.Manager):\r\n\r\n\tTraceback (most recent call last):\r\n\t  File \"manage.py\", line 10, in <module>\r\n\t\texecute_from_command_line(sys.argv)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 385, in execute_from_command_line\r\n\t\tutility.execute()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 354, in execute\r\n\t\tdjango.setup()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/__init__.py\", line 21, in setup\r\n\t\tapps.populate(settings.INSTALLED_APPS)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/apps/registry.py\", line 115, in populate\r\n\t\tapp_config.ready()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/contrib/admin/apps.py\", line 22, in ready\r\n\t\tself.module.autodiscover()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/contrib/admin/__init__.py\", line 23, in autodiscover\r\n\t\tautodiscover_modules('admin', register_to=site)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/utils/module_loading.py\", line 74, in autodiscover_modules\r\n\t\timport_module('%s.%s' % (app_config.name, module_to_search))\r\n\t  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n\t\t__import__(name)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/cms/admin/__init__.py\", line 11, in <module>\r\n\t\tplugin_pool.plugin_pool.discover_plugins()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/cms/plugin_pool.py\", line 34, in discover_plugins\r\n\t\tload('cms_plugins')\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/cms/utils/django_load.py\", line 57, in load\r\n\t\tget_module(app, modname, verbose, failfast)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/cms/utils/django_load.py\", line 41, in get_module\r\n\t\tmodule = import_module(module_name)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/utils/importlib.py\", line 46, in import_module\r\n\t\t__import__(name)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/djangocms_link/cms_plugins.py\", line 8, in <module>\r\n\t\tfrom djangocms_link.forms import LinkForm\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/djangocms_link/forms.py\", line 9, in <module>\r\n\t\tclass LinkForm(ModelForm):\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/djangocms_link/forms.py\", line 12, in LinkForm\r\n\t\tpage_link = PageSearchField(queryset=Page.objects.drafts(), label=_(\"Page\"), required=False)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django_select2/fields.py\", line 305, in __call__\r\n\t\tif not queryset and hasattr(cls, '_subclass_queryset'):\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/models/query.py\", line 145, in __nonzero__\r\n\t\tself._fetch_all()\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/models/query.py\", line 966, in _fetch_all\r\n\t\tself._result_cache = list(self.iterator())\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/models/query.py\", line 265, in iterator\r\n\t\tfor row in compiler.results_iter():\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 700, in results_iter\r\n\t\tfor rows in self.execute_sql(MULTI):\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py\", line 786, in execute_sql\r\n\t\tcursor.execute(sql, params)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/backends/utils.py\", line 81, in execute\r\n\t\treturn super(CursorDebugWrapper, self).execute(sql, params)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n\t\treturn self.cursor.execute(sql, params)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/utils.py\", line 94, in __exit__\r\n\t\tsix.reraise(dj_exc_type, dj_exc_value, traceback)\r\n\t  File \"/home/user/.virtualenvs/mysite/local/lib/python2.7/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n\t\treturn self.cursor.execute(sql, params)\r\n\tdjango.db.utils.ProgrammingError: column cms_page.path does not exist\r\n\tLINE 1: SELECT \"cms_page\".\"id\", \"cms_page\".\"path\", \"cms_page\".\"depth...\r\n\t\t\t\t\t\t\t\t\t^\r\n\r\nI suspect that there's something off with the migrations, but I am not exactly sure what and don't know how to fix it. On discrepancy I see is that my installation has five migrations, but looking at the source code, django-cms 3.0.13 only has three. \r\n\r\nHere's mine from the db:\r\n0001_initial\r\n0002_auto_20140816_1918\r\n0003_auto_20140926_2347\r\n0004_auto_20150310_0040\r\n0005_auto_20150420_1412\r\n\r\nAnd 3.0.13 from your source:\r\n0001_initial\r\n0002_auto_20140816_1918\r\n0003_auto_20140926_2347\r\n\r\nAny ideas?\r\nCheers,\r\n/Martin"},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/107652888","html_url":"https://github.com/divio/django-cms/issues/4123#issuecomment-107652888","issue_url":"https://api.github.com/repos/divio/django-cms/issues/4123","id":107652888,"user":{"login":"rando305","id":6002915,"avatar_url":"https://avatars.githubusercontent.com/u/6002915?v=3","gravatar_id":"","url":"https://api.github.com/users/rando305","html_url":"https://github.com/rando305","followers_url":"https://api.github.com/users/rando305/followers","following_url":"https://api.github.com/users/rando305/following{/other_user}","gists_url":"https://api.github.com/users/rando305/gists{/gist_id}","starred_url":"https://api.github.com/users/rando305/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rando305/subscriptions","organizations_url":"https://api.github.com/users/rando305/orgs","repos_url":"https://api.github.com/users/rando305/repos","events_url":"https://api.github.com/users/rando305/events{/privacy}","received_events_url":"https://api.github.com/users/rando305/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T17:50:22Z","updated_at":"2015-06-01T17:50:22Z","body":"1.7\r\n"}}