You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* django: fix 'week' lookup.
Translates lookup type `week` into `isoweek`,
when used in either of:
* DatabaseOperations.date_extract_sql
* DatabaseOperations.datetime_extract_sql
in order to conform to Django's ISO 8601 week expectations.
The generated SQL will thus be:
SELECT EXTRACT(isoweek from DATE(dt.start_time) from db_functions
intead of
SELECT EXTRACT(week from DATE(dt.start_time) from db_functions
Fixes#263
0 commit comments