#22645: Gis tests broken without a models.py
----------------------------+----------------------------------------
Reporter: apollo13 | Owner: andrewgodwin
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+----------------------------------------
Comment (by claudep):
I'm sorry, but I'm not so sure any more about recreating `models.py`. The
problem is that the presence of `SpatialRefSys/GeometryColumns` is backend
dependent, so adding them based on the default `connection` object might
break in case of multi-db setups where a non-default database has no such
tables, like MySQL.
I've just tested removing the empty `models.py` from `django.contrib.gis`
and the test suite now passes: https://github.com/django/django/pull/3724
--
Ticket URL: <https://code.djangoproject.com/ticket/22645#comment:10>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.c76236099088a6e3b709603bd6794719%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.