#15295: GeoDjango model creation fails for MySQL during tests
--------------------------------------+------------------------
Reporter: adamnelson | Owner: nobody
Type: Bug | Status: closed
Milestone: | Component: GIS
Version: SVN | Severity: Normal
Resolution: wontfix | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
Changes (by jbronn):
* status: new => closed
* ui_ux: => 0
* resolution: => wontfix
* easy: => 0
Comment:
!GeoDjango is not supported on MySQL when InnoDB is used. If you want the
tests to pass, ensure the correct options are in your settings when
testing, for example:
{{{
#!python
TEST_RUNNER='django.contrib.gis.tests.GeoDjangoTestSuiteRunner'
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.mysql',
'NAME': 'geodjango',
'USER': 'geodjango',
'OPTIONS': {
'init_command': 'SET storage_engine=MyISAM',
}
},
}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/15295#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.