Hey, I actually wrote about how to use this approach with Django admin:

Also, worth mentioning that this approach is suitable mostly for APIs. If you have simple models that don’t require such control you might be better of using plain Django models with clean and validate functions (this is what we do for simple models like lookup tables as so on).

Written by

Full Stack Developer, Team Leader, Independent. More from me at https://hakibenita.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store