rest_witchcraft.field_mapping module¶
Field mapping from SQLAlchemy type’s to DRF fields.
-
rest_witchcraft.field_mapping.
get_detail_view_name
(model)[source]¶ Given a model class, return the view name to use for URL relationships that rever to instances of the model.