* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
breadcrumbs.py | Loading commit data... | |
encoders.py | Loading commit data... | |
field_mapping.py | Loading commit data... | |
formatting.py | Loading commit data... | |
html.py | Loading commit data... | |
humanize_datetime.py | Loading commit data... | |
mediatypes.py | Loading commit data... | |
model_meta.py | Loading commit data... | |
representation.py | Loading commit data... | |
serializer_helpers.py | Loading commit data... | |
urls.py | Loading commit data... |