From Django 2.0 release notes:
The field_name keyword argument to
QuerySet.earliest()
andQuerySet.latest()
is deprecated in favor of passing the field names as arguments. Write.earliest('pub_date')
instead of.earliest(field_name='pub_date')
.
This is removed in Django 3.0:
The
field_name
keyword argument ofQuerySet.earliest()
andlatest()
will be removed.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too