StackOverflow Questions for Tag: django-constraints

S.D.
S.D.

Reputation: 2951

django constraint in multi-tenant application

Score: 0

Views: 25

Answers: 1

Read More
dfrankow
dfrankow

Reputation: 21469

Django constraint for "field one not in field two for any row"?

Score: 0

Views: 40

Answers: 1

Read More
user15125625
user15125625

Reputation: 23

Unique together between field and model connected by ForeignKey django

Score: 2

Views: 62

Answers: 1

Read More
johnthagen
johnthagen

Reputation: 9199

How to make a Django UniqueConstraint that checks fields in a position-independant way?

Score: 1

Views: 215

Answers: 0

Read More
UpDawg
UpDawg

Reputation: 61

How to allow boolean True on just one model in table in Django?

Score: 0

Views: 124

Answers: 0

Read More
Dante
Dante

Reputation: 435

use db constraints to limit a foreign key to have only one boolean value false while others true

Score: 0

Views: 668

Answers: 1

Read More
Milano
Milano

Reputation: 18745

Django DB constraint - allow only one object with status field that is not "draft"

Score: 1

Views: 673

Answers: 1

Read More
Milano
Milano

Reputation: 18745

Django constraints - only users with specific role can have specific field set (not null)

Score: 0

Views: 178

Answers: 2

Read More
Milano
Milano

Reputation: 18745

Django multi-table inheritance - make sure only one child exists (CheckConstraint)

Score: 1

Views: 448

Answers: 1

Read More
london_utku
london_utku

Reputation: 1312

Django constraints for UniqueConstraint does not work

Score: 3

Views: 109

Answers: 0

Read More
aaronn
aaronn

Reputation: 478

Django `UniqueConstraint` exception handled the same as 'unique=True'

Score: 2

Views: 1158

Answers: 1

Read More
coredumped0x
coredumped0x

Reputation: 858

Django many-to-many contstaints validation

Score: 0

Views: 662

Answers: 1

Read More
jujube
jujube

Reputation: 21

Django CheckConstraints to check start_date greater than or equal today

Score: 2

Views: 1619

Answers: 1

Read More
user15854983
user15854983

Reputation: 11

Constrain unique_together could have conflict with the unique_field in dajngo Class

Score: 1

Views: 102

Answers: 1

Read More
Jarad
Jarad

Reputation: 18973

Django Model Constraint Condition Using Field From Inherited Class - Is It Possible?

Score: 1

Views: 1313

Answers: 1

Read More
dfrankow
dfrankow

Reputation: 21469

How to implement a generalized uniqueness DB constraint (A,B) and (B,A) in Django?

Score: 0

Views: 69

Answers: 1

Read More
Mathijs
Mathijs

Reputation: 471

Django constraint: allowing 1 field to only have a single combination with another field while still alowing historical data

Score: 1

Views: 287

Answers: 0

Read More
Matthew Trevor
Matthew Trevor

Reputation: 14961

Using Django's CheckConstraint with annotations

Score: 8

Views: 846

Answers: 1

Read More
talz
talz

Reputation: 1200

Django: How to treat null as equal to everything for uniqueness constraints?

Score: 1

Views: 415

Answers: 1

Read More
Dallas Hoekstra
Dallas Hoekstra

Reputation: 11

Why is my model field out of scope in the constraints?

Score: 1

Views: 79

Answers: 0

Read More
PreviousPage 1Next