fixed problem with keyed tables, thanks Denes

This commit is contained in:
mdipierro
2013-03-02 09:18:04 -06:00
parent 0193db35b6
commit 8414e638ec
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.03.01.12.45.23
Version 2.4.1-alpha.2+timestamp.2013.03.02.09.17.16
+2
View File
@@ -808,6 +808,8 @@ class BaseAdapter(ConnectionPool):
constraint_name = constraint_name, # should be quoted
foreign_key = '%s (%s)' % (rtablename,
rfieldname),
table_name = table_name,
field_name = field_name,
on_delete_action=field.ondelete)
else:
# make a guess here for circular references