Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

django sqllite config

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'mydatabase', # This is where you put the name of the db file. 
                 # If one doesn't exist, it will be created at migration time.
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #sqllite #config
ADD COMMENT
Topic
Name
7+9 =