diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-12-13 22:11:06 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-03-02 10:29:02 +0100 |
| commit | 8ee1eddb7e148de89aebde9e68da495633fc1ec9 (patch) | |
| tree | 36b83db0cf15b0be47557449b9ed056646099542 /django/db/backends/sqlite3 | |
| parent | 0f306cad8442f9808e4410f190f434144ff6376a (diff) | |
Add a BinaryField model field
Thanks Michael Jung, Charl Botha and Florian Apolloner for review
and help on the patch.
Diffstat (limited to 'django/db/backends/sqlite3')
| -rw-r--r-- | django/db/backends/sqlite3/creation.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/sqlite3/creation.py b/django/db/backends/sqlite3/creation.py index 9dacac72e1..c90a697e35 100644 --- a/django/db/backends/sqlite3/creation.py +++ b/django/db/backends/sqlite3/creation.py @@ -9,6 +9,7 @@ class DatabaseCreation(BaseDatabaseCreation): # schema inspection is more useful. data_types = { 'AutoField': 'integer', + 'BinaryField': 'BLOB', 'BooleanField': 'bool', 'CharField': 'varchar(%(max_length)s)', 'CommaSeparatedIntegerField': 'varchar(%(max_length)s)', |
