~ubuntuone-pqm-team/django/stable

« back to all changes in this revision

Viewing changes to django/db/backends/sqlite3/creation.py

  • Committer: Natalia
  • Date: 2014-12-05 15:21:13 UTC
  • Revision ID: natalia.bidart@ubuntu.com-20141205152113-cchtmygjia45gb87
Tags: 1.6.8
- Imported Django 1.6.8 from released tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    # schema inspection is more useful.
10
10
    data_types = {
11
11
        'AutoField':                    'integer',
 
12
        'BinaryField':                  'BLOB',
12
13
        'BooleanField':                 'bool',
13
14
        'CharField':                    'varchar(%(max_length)s)',
14
15
        'CommaSeparatedIntegerField':   'varchar(%(max_length)s)',
71
72
            # Remove the SQLite database file
72
73
            os.remove(test_database_name)
73
74
 
74
 
    def set_autocommit(self):
75
 
        self.connection.connection.isolation_level = None
76
 
 
77
75
    def test_db_signature(self):
78
76
        """
79
77
        Returns a tuple that uniquely identifies a test database.