migration - django 1.8.2 AttributeError: '_Meta' object has no attribute 'model_name' -


the project history started django 1.3, current version 1.7.7.

made migration 1.8.2. warnings on 3d-party apps remained, ok.

django-admin.py check - ok 

but while trying change adding new field model django-admin.py makemigrations returns

attributeerror '_meta' object has no attribute 'model_name'

traceback (most recent call last):   file "/usr/local/bin/django-admin.py", line 5, in <module>     management.execute_from_command_line()   file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line     utility.execute()   file "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 330, in execute     self.fetch_command(subcommand).run_from_argv(self.argv)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 390, in run_from_argv     self.execute(*args, **cmd_options)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 441, in execute     output = self.handle(*args, **options)   file "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/makemigrations.py", line 125, in handle     migration_name=self.migration_name,   file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/autodetector.py", line 43, in changes     changes = self._detect_changes(convert_apps, graph)   file "/usr/local/lib/python2.7/dist-packages/django/db/migrations/autodetector.py", line 170, in _detect_changes     old_field.rel.through._meta.model_name, attributeerror: '_meta' object has no attribute 'model_name' 

as around core can't understand , for.

thanks sayse, classic debugging helped:

the reason nice django-hstore field not ready 1.8 yet..


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -