MANAGERS = ADMINS
-AUTH_USER_MODEL = 'core.PLUser'
-
-from plstackapi.planetstack.config import Config
-config = Config()
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': config.db_name, # Or path to database file if using sqlite3.
+ 'NAME': 'planetstack', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
- 'USER': config.db_user,
- 'PASSWORD': config.db_password,
- 'HOST': config.db_host, # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
+ 'USER': 'postgres',
+ 'PASSWORD': 'admin',
+ 'HOST': 'localhost', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
}
}
+AUTH_USER_MODEL = 'core.User'
+
# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
ALLOWED_HOSTS = []
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
-ROOT_URLCONF = 'plstackapi.core.urls'
+ROOT_URLCONF = 'planetstack.urls'
# Python dotted path to the WSGI application used by Django's runserver.
-WSGI_APPLICATION = 'plstackapi.planetstack.wsgi.application'
+WSGI_APPLICATION = 'planetstack.wsgi.application'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ "/opt/planetstack/templates"
)
INSTALLED_APPS = (
'django.contrib.admindocs',
'rest_framework',
'django_extensions',
+ 'core',
'django_evolution',
- #'plstackapi.planetstack',
- 'plstackapi.core',
)
# A sample logging configuration. The only tangible logging