#16592: In MySQL, table names in unmanaged intermediate models are being lower
cased
------------------------------------+-----------------------------------
Reporter: jsdalton | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Testing framework
Version: SVN | Severity: Normal
Resolution: | Keywords: mysql
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------+-----------------------------------
Comment (by jsdalton):
Here's an output of the tables that are created when I run those tests:
{{{
[u'A01', u'B01', u'C01', u'auth_group', u'auth_group_permissions',
u'auth_permission', u'auth_user', u'auth_user_groups',
u'auth_user_user_permissions', u'd01', u'django_admin_log',
u'django_comment_flags', u'django_comments', u'django_content_type',
u'django_flatpage', u'django_flatpage_sites', u'django_redirect',
u'django_session', u'django_site', u'unmanaged_models_managed1',
u'unmanaged_models_managed1_mm', u'unmanaged_models_proxy1',
u'unmanaged_models_proxy2']
}}}
(Just added a print tables in the syncdb command to get that list.)
The fact that A01 etc are right and d01 is wrong is what's making me think
it's a bit different from what you brought up? Or rather, it wouldn't
surprise me if the lower casing behavior is what's causing this, but it's
probably a (minor) but if it's ignoring the value in db_table. Ideally it
should be consistent I should think.
Well anyhow, I'll take a look and see if I can make any progress later.
--
Ticket URL: <https://code.djangoproject.com/ticket/16592#comment:2>
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.