Re: Annotated model fields – consistent access in model meta, reverse foreign keys

2022-08-05 Thread jools
Some dude on reddit has created a little extension: https://www.reddit.com/r/django/comments/fycwcl/virtualfunctionfield_a_virtual_field_with/ jools schrieb am Freitag, 5. August 2022 um 11:11:30 UTC+2: > Dear community, > > here’s a question/thought about how you handle annotated fields. > > Her

Annotated model fields – consistent access in model meta, reverse foreign keys

2022-08-05 Thread jools
Dear community, here’s a question/thought about how you handle annotated fields. Here’s my use case: ``` from django import models class Person(models.Model): given_name = models.CharField(max_length=100) family_name = models.CharField(max_length=100) # Some people prefer a dif