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
obj = MyModel.objects.create(timezone='Europe/Berlin')
assert not isinstance(obj.timezone, str)
It should return pytz object. I'm not sure but we probably will have to create descriptor like FileField has
The text was updated successfully, but these errors were encountered:
imomaliev
changed the title
When saving timezone field with string value it will no get converted to pytz object
When saving timezone field with string value it won't get converted to pytz object
Oct 22, 2019
It should return pytz object. I'm not sure but we probably will have to create descriptor like
FileField
hasThe text was updated successfully, but these errors were encountered: