From 3fc5294d2eb0628091953055caf70f0b0e75fa23 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 19 Jul 2005 21:32:58 +0000 Subject: [PATCH] Fixed #84 -- CREATE TABLE foreign keys now work in MySQL git-svn-id: http://code.djangoproject.com/svn/django/trunk@227 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/bin/django-admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/bin/django-admin.py b/django/bin/django-admin.py index 2bbc03764c..7aa049a53f 100755 --- a/django/bin/django-admin.py +++ b/django/bin/django-admin.py @@ -59,7 +59,7 @@ def get_sql_create(mod): if rel_field.__class__.__name__ == 'AutoField': data_type = 'IntegerField' else: - rel_field.__class__.__name__ + data_type = rel_field.__class__.__name__ else: rel_field = f data_type = f.__class__.__name__