#27217: GeoDjango issues on Django 1.11.dev version
---------------------------------+--------------------
     Reporter:  MVSatish         |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  GIS              |    Version:  master
     Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 Am Using postgis as a backend and makemigrations threw back the error:


 {{{
 Traceback (most recent call last):
   File "manage.py", line 22, in <module>
     execute_from_command_line(sys.argv)
   File "/home/satish/work/django/django/core/management/__init__.py", line
 366, in execute_from_command_line
     utility.execute()
   File "/home/satish/work/django/django/core/management/__init__.py", line
 358, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/home/satish/work/django/django/core/management/base.py", line
 294, in run_from_argv
     self.execute(*args, **cmd_options)
   File "/home/satish/work/django/django/core/management/base.py", line
 345, in execute
     output = self.handle(*args, **options)
   File
 "/home/satish/work/django/django/core/management/commands/makemigrations.py",
 line 173, in handle
     migration_name=self.migration_name,
   File "/home/satish/work/django/django/db/migrations/autodetector.py",
 line 47, in changes
     changes = self._detect_changes(convert_apps, graph)
   File "/home/satish/work/django/django/db/migrations/autodetector.py",
 line 198, in _detect_changes
     self._optimize_migrations()
   File "/home/satish/work/django/django/db/migrations/autodetector.py",
 line 362, in _optimize_migrations
     migration.operations =
 MigrationOptimizer().optimize(migration.operations, app_label=app_label)
   File "/home/satish/work/django/django/db/migrations/optimizer.py", line
 38, in optimize
     result = self.optimize_inner(operations, app_label)
   File "/home/satish/work/django/django/db/migrations/optimizer.py", line
 53, in optimize_inner
     result = operation.reduce(other, in_between, app_label)
   File
 "/home/satish/work/django/django/db/migrations/operations/models.py", line
 213, in reduce
     return super(CreateModel, self).reduce(operation, in_between,
 app_label=app_label)
   File
 "/home/satish/work/django/django/db/migrations/operations/models.py", line
 39, in reduce
     not operation.references_model(self.name, app_label)
   File
 "/home/satish/work/django/django/db/migrations/operations/models.py", line
 119, in references_model
     model_app_label, model_name = self.model_to_key(model)
   File
 "/home/satish/work/django/django/db/migrations/operations/models.py", line
 133, in model_to_key
     return model._meta.app_label, model._meta.object_name
 AttributeError: type object 'SpatialRefSysMixin' has no attribute '_meta'

 }}}

 Is GeoDjango ready for 1.11 dev version yet?

--
Ticket URL: <https://code.djangoproject.com/ticket/27217>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.4667df6f70313b7395bb8eb9425d69e4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to