Changes between Version 8 and Version 9 of Ticket #29724, comment 9
- Timestamp:
- Sep 3, 2019, 5:26:29 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29724, comment 9
v8 v9 10 10 {{{ 11 11 elif year_lookup and month_lookup: 12 ### This is a way to avoid using queryset.dates fucntion, which was giving naive datetimes with problems when the monthrange is different between utc and localtime.13 12 month_filter=field_name+'__month' 14 13 year_filter=field_name+'__year'