Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (28 sloc) 0.753 kB
import os
ADMINS = (
('test@example.com', 'Mr. Test'),
)
BASE_PATH = os.path.abspath(os.path.dirname(__file__))
MEDIA_ROOT = os.path.normpath(os.path.join(BASE_PATH, 'media'))
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = 'tastypie.db'
TEST_DATABASE_NAME = 'tastypie-test.db'
# for forwards compatibility
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.%s' % DATABASE_ENGINE,
'NAME': DATABASE_NAME,
'TEST_NAME': TEST_DATABASE_NAME,
}
}
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'tastypie',
]
DEBUG = True
TEMPLATE_DEBUG = DEBUG
CACHE_BACKEND = 'locmem://'
SECRET_KEY = 'verysecret'
# to make sure timezones are handled correctly in Django>=1.4
USE_TZ = True
Jump to Line
Something went wrong with that request. Please try again.