File: settings_mysql.py

package info (click to toggle)
python-django-dynamic-fixture 4.0.1-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 616 kB
  • sloc: python: 3,909; makefile: 237; sh: 6
file content (18 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from settings_ddf import *

DDF_TEST_GEODJANGO = True

# MySQL
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'ddf',
        'USER': 'paulocheque', # please, change this if you want to run tests in your machine
        'PASSWORD': '',
        'HOST': 'localhost',
        'PORT': 3306,
    }
}

if DDF_TEST_GEODJANGO:
    INSTALLED_APPS += ('django.contrib.gis',)