mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
27f32faee4
By default all subclasses of RelatedField are output as string fields in the schema, which works well for StringRelatedField, SlugRelatedField or HyperlinkedRelatedField. Handle the common case of a PrimaryKeyRelatedField pointing to an AutoField. |
||
---|---|---|
.. | ||
__init__.py | ||
generators.py | ||
inspectors.py | ||
utils.py | ||
views.py |