diff options
author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-09-01 22:15:35 +0000 |
---|---|---|
committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-09-01 22:15:35 +0000 |
commit | 3a18002bbd3b08fb3ee40d681bdda1a39eb0ad9c (patch) | |
tree | 6d379c5dad263f61a187b07a44f61200cb874585 /django/db/backends/mysql/creation.py | |
parent | 4f225d44ce3be03db2c36786f76c80d5bc449f3b (diff) | |
download | django-3a18002bbd3b08fb3ee40d681bdda1a39eb0ad9c.tar.gz |
Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends/mysql/creation.py')
-rw-r--r-- | django/db/backends/mysql/creation.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/mysql/creation.py b/django/db/backends/mysql/creation.py index 96faaacb75..0611e01643 100644 --- a/django/db/backends/mysql/creation.py +++ b/django/db/backends/mysql/creation.py @@ -21,14 +21,12 @@ class DatabaseCreation(BaseDatabaseCreation): 'IPAddressField': 'char(15)', 'NullBooleanField': 'bool', 'OneToOneField': 'integer', - 'PhoneNumberField': 'varchar(20)', 'PositiveIntegerField': 'integer UNSIGNED', 'PositiveSmallIntegerField': 'smallint UNSIGNED', 'SlugField': 'varchar(%(max_length)s)', 'SmallIntegerField': 'smallint', 'TextField': 'longtext', 'TimeField': 'time', - 'USStateField': 'varchar(2)', } def sql_table_creation_suffix(self): |