Permalink
Browse files

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
  • Loading branch information...
1 parent 76633e5 commit 3fc5294d2eb0628091953055caf70f0b0e75fa23 @adrianholovaty adrianholovaty committed Jul 19, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 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__

0 comments on commit 3fc5294

Please sign in to comment.