﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24815	Custom settings for database alias	Miguel Angel Velazco	nobody	"It could be excelet to be able  to set custom settings depending the database alias. An excelent example could be the management of the media files.

Maybe to do something like this:


**settings.py**
  {{{#!python
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

DATABASES = {
   'default': {
            'ENGINE': 'django.db.backends.sqlite3',
            'NAME': os.path.join(BASE_DIR, 'uno.sqlite3'),
    },
    'another': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'uno.sqlite3'),
        'ADDITIONAL_SETTINGS': {
            'MEDIA_ROOT': os.path.join(BASE_DIR, ""custom_media""),
        }
    },
}
 }}}"	New feature	new	Uncategorized	1.8	Normal				Unreviewed	0	0	0	0	0	0
