django-rest-framework/rest_framework/schemas
Jeremy Lainé 27f32faee4 Fix schema generation for PrimaryKeyRelatedField (#5764)
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.
2018-02-01 16:14:35 +01:00
..
__init__.py Add DEFAULT_SCHEMA_CLASS setting (#5658) 2017-12-14 11:24:21 +01:00
generators.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
inspectors.py Fix schema generation for PrimaryKeyRelatedField (#5764) 2018-02-01 16:14:35 +01:00
utils.py Have is_list_view recognise RetrieveModel… views (#5480) 2017-10-05 20:41:14 +02:00
views.py Allow schema = None. Deprecate exclude_from_schema (#5422) 2017-09-20 11:29:47 +02:00