mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +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 |