#34275: Add new Field named FieldAlias -------------------------------------+------------------------------------- Reporter: Sharif | Owner: nobody Mehedi | Type: New | Status: new feature | Component: Database | Version: 4.1 layer (models, ORM) | Severity: Normal | Keywords: Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- Let's say I define some abstract model and when some database model inharits from the abstract model, I would like to have some other name for a field from the inharited model. This is fairly simple for most of the field types, with some changes in the query_utils. But This will need some extra work on GenericForeignKey, where I would like to have some FieldAlias which should behave like a ForeignKey (some inverse relation to a GenericRelation (which are not necessarily tied together)) on the GenericForeignKey.
-- Ticket URL: <https://code.djangoproject.com/ticket/34275> 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/01070185cde98bca-b433a4fe-f2f9-4c15-a7bf-d7d89eca2083-000000%40eu-central-1.amazonses.com.