30 lines
509 B
Python
30 lines
509 B
Python
# coding: utf-8
|
|
|
|
#
|
|
# Development settings prepared for vagrant
|
|
#
|
|
|
|
from .base import *
|
|
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
|
'NAME': 'amiibofindr',
|
|
'USER': 'vagrant',
|
|
'PASSWORD': 'vagrant',
|
|
'HOST': '127.0.0.1',
|
|
}
|
|
}
|
|
|
|
# Media
|
|
MEDIA_URL = '/media/'
|
|
MEDIA_ROOT = '/vagrant/media'
|
|
|
|
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
|
|
|
try:
|
|
from local_settings import *
|
|
except ImportError as e:
|
|
print(e)
|