#17418: ForeignKey automatic attribute does not depend on db_column -------------------------------------+------------------------------------- Reporter: anonymous | Owner: nobody Type: | Status: closed Cleanup/optimization | Version: 1.3 Component: Database layer | Resolution: invalid (models, ORM) | Triage Stage: Severity: Normal | Unreviewed Keywords: | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by aaugustin):
* status: new => closed * needs_docs: => 0 * resolution: => invalid * needs_tests: => 0 * needs_better_patch: => 0 Comment: As its name implies, `db_column` only affects the name of the column in the database, not the name of the field in Python code. If you were misled by the docs, could you tell us which paragraph confused you? -- Ticket URL: <https://code.djangoproject.com/ticket/17418#comment:1> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.