Using Django Check Constraints to Ensure Only One Field Is Set

July 28, 2020 | Articles
From Adam Johnson, a demonstration of using check constraints in a Django model.
URL: https://adamj.eu/tech/2020/03/25/django-check-constraints-one-field-set/
Filed in: Articles

Sponsor Number One

Subscribe to Django News

Weekly Django news, articles, projects, and more. Curated by Jeff Triplett & William Vincent.

No spam, ever. We'll never share your email address and you can opt out at any time.