fixed problem with keyed tables, thanks Denes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -808,6 +808,8 @@ class BaseAdapter(ConnectionPool):
|
|||||||
constraint_name = constraint_name, # should be quoted
|
constraint_name = constraint_name, # should be quoted
|
||||||
foreign_key = '%s (%s)' % (rtablename,
|
foreign_key = '%s (%s)' % (rtablename,
|
||||||
rfieldname),
|
rfieldname),
|
||||||
|
table_name = table_name,
|
||||||
|
field_name = field_name,
|
||||||
on_delete_action=field.ondelete)
|
on_delete_action=field.ondelete)
|
||||||
else:
|
else:
|
||||||
# make a guess here for circular references
|
# make a guess here for circular references
|
||||||
|
|||||||
Reference in New Issue
Block a user