問題タブ [django-simple-history]

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 投票する
3 に答える
4050 参照

django-rest-framework - Django の単純な履歴から残りの履歴を取得する

django-simple-history (1.8.1) と DRF (3.5.3) を使用しています。各要素の履歴を含む残りのサービスを取得したい。例を見てみましょう!

models.py

それでは、serializers.pyは何でしょう? 私は次のようなものをGETしたい:

解決策を見つけられずに検索した後、最終的に自分で見つけました。しかし、誰かがより良い解決策を持っているなら...