when filtering using __gte on models.DateTimeField the printed query
doesn't wrap the searched date with an apostrophe ' this may lead to
undesired results in postgres database:
WHERE ("appname_tablename"."creation_date" >= *2021-06-27
11:08:29.311284+00:00* AND "appname_tablename"."node_id" = 111)
as asked on SO here
<https://stackoverflow.com/questions/68159867/date-filtering-in-django-with-gte-does-not-add-apostrophe#comment120471873_68159867>
please inform if this is a bug, the behavior has been reported or fixed
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/66e8c7be-94aa-4163-82da-2cee532de26en%40googlegroups.com.