mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-11-05 10:27:32 +03:00
* 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 | ||