#35236: Access Field.attname and Field.column directly -------------------------------------+------------------------------------- Reporter: Adam Johnson | Owner: Adam Type: | Johnson Cleanup/optimization | Status: assigned Component: Database layer | Version: dev (models, ORM) | Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Adam Johnson):
I think it has very little chance to break things. There are hundreds of pre-existing uses of `.attname` and `.column`, the PR only updates a handful. Also, non-deterministic `attname` would be somewhat meaningless, as nothing would reattach the field’s descriptor with a different attribute name. -- Ticket URL: <https://code.djangoproject.com/ticket/35236#comment:3> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018dc5443fe2-f2abcc5a-e201-41f5-bfbc-8efff7f6b5f1-000000%40eu-central-1.amazonses.com.