Closed KaktusOnFire closed 2 years ago
Hmm ... I don't know a good solution, but if a query speed does not matter. You can create manager like
class FooBarManager(models.Manager):
def sale_date(self, start_dt, end_dt):
do_some_logic()
return queryset
And then overwrite method queryset.
Any solution to make custom filter for calculated Admin fields?
Example: