On Jan 11, 11:14 am, Fran <[email protected]> wrote:
> I am getting problems with CSV Import:

Another issue I'm seeing is that the Validators aren't applied:
I have a uuid field (e.g. in my gis_projection table):
SQLField('uuid',length=64,default=uuid.uuid4())
db['%s' % table].uuid.requires=IS_NOT_IN_DB(db,'gis_projection.uuid')

However when I import the export then I end up with multiple records
with the same UUID!

Strangely enough I also see the identical UUIDs for the 2 default
records I create during my app intialisation with consecutive:
db['%s' % table].insert(...)
(I'm aware the time must be almost identical & this is one of the
inputs for uuid, but we shouldn't be able to create identical
records...)

More thanks :)
Fran.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to