I've just come across an interesting problem...

I've got a text string as primary key in a Django model. Turns out that
Mysql is treating this as case-insensitive, that is, I have an
initial_data.json fixture with 2 records, "abc" and "ABC" in the primary key
field, and only one of them is installed in the table.

I could fix this, I think, by using the BINARY flag in the CREATE TABLE
syntax, but can't see how to do that within the Django model definition.

Any pointers, anyone?

Rachel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to