On Sunday 18 Dec 2005 12:49 am, Adrian Holovaty wrote:
> 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.

and hand write the validation too. It would be a cool feature to add 
to make it automagic
-- 
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

Reply via email to