On Feb 13, 9:27 pm, Shawn Milochik wrote:
> On 02/13/2012 03:25 PM, Nicolas Bazire wrote:
>
> > On Feb 13, 9:16 pm, Shawn Milochik wrote:
> >> You can override and customize the forms, then manually add the unique
> >> indexes to your database.
>
> > O
On Feb 13, 9:16 pm, Shawn Milochik wrote:
> You can override and customize the forms, then manually add the unique
> indexes to your database.
Overriding the forms is only part of the problem.
For instance, forms are not used with Model.objects.create().
I want to enforce such constraints and not
Hi,
I'm looking for the right way to add custom constraints on some fields
in the User model provided by django.contrib.auth. I'm not only
talking about form validation, but also database constraints (for
instance, unique).
Basically what I want to do is make the field "email" mandatory and
uniqu
3 matches
Mail list logo