Validators are not applied to CSV import. The unique=True may be ignored if
you are suing sqlite, unless you added it when you first defined the table.
If you added unique=True later it is ignored.
On Friday, 4 May 2012 22:40:12 UTC-5, rahulserver wrote:
>
> I am importing data from a csv file and the field declaration is
> as:Field('Account',requires=IS_NOT_EMPTY(),unique=True). But no exception
> is thrown when duplicate values for the field is imported! In one of the
> posts, I have read that it is an sqllite specific issue which I am using
> for backend How to get round it?
>