mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-13 13:16:55 +03:00
9c996d7d2a
* Add Meta.fields = '__all__' to serializer classes where required. * Add explicit on_delete=models.CASCADE to ForeignKey fields. * Use '.remote_field' and '.model' in preference to '.rel' and '.to' when inspecting model fields. * Use new value_from_object in preference to internal _get_val_from_obj |
||
---|---|---|
.. | ||
__init__.py | ||
breadcrumbs.py | ||
encoders.py | ||
field_mapping.py | ||
formatting.py | ||
html.py | ||
humanize_datetime.py | ||
mediatypes.py | ||
model_meta.py | ||
representation.py | ||
serializer_helpers.py | ||
urls.py |