Ticket #3588: 3588-filefield_unlimited.patch
File 3588-filefield_unlimited.patch, 4.4 KB (added by , 18 years ago) |
---|
-
django/db/backends/ado_mssql/creation.py
5 5 'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)', 6 6 'DateField': 'smalldatetime', 7 7 'DateTimeField': 'smalldatetime', 8 'FileField': ' varchar(100)',9 'FilePathField': ' varchar(100)',8 'FileField': 'text', 9 'FilePathField': 'text', 10 10 'FloatField': 'numeric(%(max_digits)s, %(decimal_places)s)', 11 'ImageField': ' varchar(100)',11 'ImageField': 'text', 12 12 'IntegerField': 'int', 13 13 'IPAddressField': 'char(15)', 14 14 'ManyToManyField': None, -
django/db/backends/mysql/creation.py
9 9 'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)', 10 10 'DateField': 'date', 11 11 'DateTimeField': 'datetime', 12 'FileField': ' varchar(100)',13 'FilePathField': ' varchar(100)',12 'FileField': 'longtext', 13 'FilePathField': 'longtext', 14 14 'FloatField': 'numeric(%(max_digits)s, %(decimal_places)s)', 15 'ImageField': ' varchar(100)',15 'ImageField': 'longtext', 16 16 'IntegerField': 'integer', 17 17 'IPAddressField': 'char(15)', 18 18 'ManyToManyField': None, -
django/db/backends/oracle/creation.py
5 5 'CommaSeparatedIntegerField': 'varchar2(%(maxlength)s)', 6 6 'DateField': 'date', 7 7 'DateTimeField': 'date', 8 'FileField': ' varchar2(100)',9 'FilePathField': ' varchar2(100)',8 'FileField': 'long', 9 'FilePathField': 'long', 10 10 'FloatField': 'number(%(max_digits)s, %(decimal_places)s)', 11 'ImageField': ' varchar2(100)',11 'ImageField': 'long', 12 12 'IntegerField': 'integer', 13 13 'IPAddressField': 'char(15)', 14 14 'ManyToManyField': None, … … 17 17 'PhoneNumberField': 'varchar(20)', 18 18 'PositiveIntegerField': 'integer', 19 19 'PositiveSmallIntegerField': 'smallint', 20 'SlugField': 'varchar (50)',20 'SlugField': 'varchar2(%(maxlength)s)', 21 21 'SmallIntegerField': 'smallint', 22 22 'TextField': 'long', 23 23 'TimeField': 'timestamp', -
django/db/backends/postgresql/creation.py
9 9 'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)', 10 10 'DateField': 'date', 11 11 'DateTimeField': 'timestamp with time zone', 12 'FileField': ' varchar(100)',13 'FilePathField': ' varchar(100)',12 'FileField': 'text', 13 'FilePathField': 'text', 14 14 'FloatField': 'numeric(%(max_digits)s, %(decimal_places)s)', 15 'ImageField': ' varchar(100)',15 'ImageField': 'text', 16 16 'IntegerField': 'integer', 17 17 'IPAddressField': 'inet', 18 18 'ManyToManyField': None, -
django/db/backends/sqlite3/creation.py
8 8 'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)', 9 9 'DateField': 'date', 10 10 'DateTimeField': 'datetime', 11 'FileField': ' varchar(100)',12 'FilePathField': ' varchar(100)',11 'FileField': 'text', 12 'FilePathField': 'text', 13 13 'FloatField': 'numeric(%(max_digits)s, %(decimal_places)s)', 14 'ImageField': ' varchar(100)',14 'ImageField': 'text', 15 15 'IntegerField': 'integer', 16 16 'IPAddressField': 'char(15)', 17 17 'ManyToManyField': None,