Error when i search it
joelalves opened this issue · 12 comments
joelalves commented
python 3.5
django 1.11.6
django-admin-rangefilter 0.3.0
Url examplpe = '/voucher/?&date_order__gte=2018-01-01&date_order__lte=2018-01-10'
Problem:
'LocalTimezone' object has no attribute 'localize'
View more details here
silentsokolov commented
@joelalves Tell me what timezone settings (in django) you use
silentsokolov commented
I could not reproduce the error.
- What version
pytz
you using? - You using default method
get_timezone
(code)?
silentsokolov commented
joelalves commented
silentsokolov commented
This is not the environment in which the error occurred. On screen MacOS
joelalves commented
it´s true, but the same environment
silentsokolov commented
Okay, reproduce the error and send the complete log
joelalves commented
ok, tonight i will send the complete log
joelalves commented
It's working after de commit.
Thanks You
silentsokolov commented
Of course, this change makes pytz
is optional. You do not have pytz
, because up to the version django 1.11.X, it is not necessary.
Thx for issues.