0001_initial.py
771 Bytes
-
Clean up existing deprecation warnings. (#4166) · 9c996d7d
* 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
Tom Christie committed