Hello, Perhaps this is more of a Python question that SQLalchemy...... but...
How can I assign a random number to a DB field by default? I tried: default = random.randrange(1000,10000) on the table definition, but I get the same number each time? Ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---