-1
我目前在我的項目中使用MySQL。當我嘗試從django管理端編輯表時,我在/ admin/workAdmin/airwaybill/1 /中得到了這些錯誤AttributeError。如何解決這個錯誤? 「'unicode'對象沒有屬性'tzinfo'」使用MySql
我如何去了解它
我目前在我的項目中使用MySQL。當我嘗試從django管理端編輯表時,我在/ admin/workAdmin/airwaybill/1 /中得到了這些錯誤AttributeError。如何解決這個錯誤? 「'unicode'對象沒有屬性'tzinfo'」使用MySql
我如何去了解它
你可以嘗試加載時區的定義:
mysql_tzinfo_to_sql /usr/share/zoneinfo/ | mysql -u root mysql -p
mysql> select count(*) from `mysql`.`time_zone_name`;
flush tables;