Source

fastdev-django / project / dev.py

Full commit

from project.settings import *
DEBUG=True
TEMPLATE_DEBUG=DEBUG

DATABASES = {
	'default': {
		'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
		'NAME': os.path.join(PROJECT_ROOT, '..', 'dev.sqlite3'),  # Or path to database file if using sqlite3.		'USER': '',					  # Not used with sqlite3.
		'PASSWORD': '',				  # Not used with sqlite3.
		'HOST': '',					  # Set to empty string for localhost. Not used with sqlite3.
		'PORT': '',					  # Set to empty string for default. Not used with sqlite3.
	}
}

folder_name = 'fixtures_%s' % __file__.replace('.py', '')

FIXTURE_DIRS = tuple(
	os.path.join(root, folder_name)
		for root, dirnames, filenames in os.walk('project/apps')
			if folder_name in dirnames
)