#13711: Very long field names on models cause problems -------------------------------------+------------------------------------- Reporter: russellm | Owner: Type: Bug | anubhav9042 Component: Database layer | Status: closed (models, ORM) | Version: master Severity: Release blocker | Resolution: fixed 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 timo):
* cc: shai (added) * has_patch: 1 => 0 * severity: Normal => Release blocker * stage: Ready for checkin => Accepted Comment: Reopening as these changes prevent the Oracle tests from running: {{{ ERRORS: backends.VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ: (models.E018) Autogenerated column name too long for field "charfield_is_quite_long_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz". Maximum length is "30" for database "default". HINT: Set the column name manually using 'db_column'. backends.VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ: (models.E018) Autogenerated column name too long for field "primary_key_is_quite_long_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz". Maximum length is "30" for database "default". HINT: Set the column name manually using 'db_column'. backends.VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ: (models.E019) Autogenerated column name too long for M2M field "verylongmodelnamezzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz_id". Maximum length is "30" for database "default". HINT: Use 'through' to create a separate model for M2M and then set column_name using 'db_column'. sites_framework.CustomArticle: (models.E018) Autogenerated column name too long for field "places_this_article_should_appear_id". Maximum length is "30" for database "default". HINT: Set the column name manually using 'db_column'. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/13711#comment:18> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.351e7857bd20420c4305c6b36eaf8013%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.