diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-28 10:17:56 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-28 10:17:56 +0100 |
commit | f46d7314b50d71a75f51ebae9c5957cb96b11bd9 (patch) | |
tree | 92f8cae7c72011609576ddfac414643ccf3c7a8f /django/db/backends/mysql/creation.py | |
parent | 14d1d504d5c839869a7f612b7d35fa1adf983f5b (diff) | |
download | django-f46d7314b50d71a75f51ebae9c5957cb96b11bd9.tar.gz |
Fixed #19677 -- Introspection of recursive foreign keys under SQLite.
Thanks Simon Charette.
Diffstat (limited to 'django/db/backends/mysql/creation.py')
-rw-r--r-- | django/db/backends/mysql/creation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/mysql/creation.py b/django/db/backends/mysql/creation.py index 53bd57effc..eb31dc66d1 100644 --- a/django/db/backends/mysql/creation.py +++ b/django/db/backends/mysql/creation.py @@ -38,7 +38,7 @@ class DatabaseCreation(BaseDatabaseCreation): suffix.append('COLLATE %s' % self.connection.settings_dict['TEST_COLLATION']) return ' '.join(suffix) - def sql_for_inline_foreign_key_references(self, field, known_models, style): + def sql_for_inline_foreign_key_references(self, model, field, known_models, style): "All inline references are pending under MySQL" return [], True |