問題タブ [tzinfo]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
9993 参照

python - Django AttributeError: 'str' オブジェクトに属性 'tzinfo' がありません

データベースからすべてのオブジェクトを取得しようとすると、次のコードでこのエラーが発生します。

これが私のモデルです:

完全なエラー メッセージは次のとおりです。

なぜこれが出てくるのか、誰にもアイデアがありますか?