On 12/17/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> can you add check constraints in a model, and if so, how?

There's no way to add constraints to the generated CREATE TABLE SQL
automatically, but you can just hand-edit the output of
"django-admin.py sql [app]" and add the constraints that way.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to