worldcompany / djangoembed

rich media consuming and providing with django
http://djangoembed.readthedocs.org
MIT License
138 stars 38 forks source link

unique_together problem with MySQL #1

Closed mdgart closed 14 years ago

mdgart commented 14 years ago

I got this error when I tried syncdb: _mysql_exceptions.OperationalError: (1170, "BLOB/TEXT column 'match' used in key specification without a key length") To solve the problem i removed 'match' from the StoredOEmbed unique_together Meta.

coleifer commented 14 years ago

Looks like this bug has been floating around for a while: http://code.djangoproject.com/ticket/2495

coleifer commented 14 years ago

fixed in http://github.com/worldcompany/djangoembed/commit/42262c11277904a3d470ab7ec15445f7a001db96

mdgart commented 14 years ago

Thanks!

djm commented 13 years ago

The fix broke Django pre version 1.2 compatibility, check these 2 commits for a quick fix; there is a pull request though.

2010-10-18 @ http://github.com/djm/djangoembed/commits/master