mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-25 13:11:26 +03:00
I've been following the tutorial step-by-step (using sqlite and the same project structure, etc). I cannot for the life of me make 'pk' be accepted as a valid field for Meta.fields of ModelSerializer... 'id' on the other hand seems to work very well. |
||
|---|---|---|
| .. | ||
| api-guide | ||
| css | ||
| img | ||
| js | ||
| topics | ||
| tutorial | ||
| index.md | ||
| requirements.txt | ||
| template.html | ||