Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 3fc5294d2eb0628091953055caf70f0b0e75fa23 1 parent 76633e5
Adrian Holovaty authored July 19, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/bin/django-admin.py
2  django/bin/django-admin.py
@@ -59,7 +59,7 @@ def get_sql_create(mod):
59 59
                 if rel_field.__class__.__name__ == 'AutoField':
60 60
                     data_type = 'IntegerField'
61 61
                 else:
62  
-                    rel_field.__class__.__name__
  62
+                    data_type = rel_field.__class__.__name__
63 63
             else:
64 64
                 rel_field = f
65 65
                 data_type = f.__class__.__name__

0 notes on commit 3fc5294

Please sign in to comment.
Something went wrong with that request. Please try again.