I use long tablenames and fieldnames as Articledescription.shortdescription
When I apply use_labels the following code is executed and my label
are highly unpredictable.
I wonder why the random function is used?
sql.py
def _get_label(self):
if self.__label is None:
if self.table is not None and self.table.name is not None:
self.__label = self.table.name + "_" + self.text
else:
self.__label = self.text
if len(self.__label) >= 30:
self.__label = self.__label[0:24] + "_" +
hex(random.randint(0, 65535))[2:]
Jaap
The Netherlands
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users