fixed varquote if no-table and IDENTITY
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-04 22:50:00) dev
|
||||
Version 2.00.0 (2012-07-04 22:50:45) dev
|
||||
|
||||
+1
-1
@@ -8152,7 +8152,7 @@ class Field(Expression):
|
||||
return True
|
||||
|
||||
def __str__(self):
|
||||
quote = self.db._adapter and self.db._adapter.varquote or IDENTITY
|
||||
quote = self.db and self.db._adapter.varquote or IDENTITY
|
||||
try:
|
||||
return '%s.%s' % (quote(self.tablename), quote(self.name))
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user