#1820: Autogenerated ManyToMany fields can generate too long identifiers for mysql to handle ------------------------------+--------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: adrian Type: defect | Status: new Priority: normal | Milestone: Component: Database wrapper | Version: magic-removal Severity: normal | Resolution: Keywords: | ------------------------------+--------------------------------------------- Comment (by [EMAIL PROTECTED]):
I got the same thing when using models.ForeignKey(). It generated the following identifier: corporationID_id_referencing_baseline_crpnpccorporation_corporationID Seems like the Django framework could catch the exception this throws and offer an alternate name (perhaps a pure ASCII hash?) back to the mysql layer. -- Ticket URL: <http://code.djangoproject.com/ticket/1820> Django <http://code.djangoproject.org/> 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 django-updates@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-updates -~----------~----~----~----~------~----~------~--~---