Merge pull request #912 from soroushj/fix-visible-to-everyone-option
[Booktype.git] / docs / settings.py
blob75efcd99cb8c6f2cd1f09e441074d2fa8d5a3f61
1 # Django settings for docs project.
2 # import source code dir
3 import os
4 import sys
5 sys.path.insert(0, os.getcwd())
6 sys.path.insert(0, os.path.join(os.getcwd(), os.pardir))
8 SITE_ID = 303
9 DEBUG = True
10 TEMPLATE_DEBUG = DEBUG
12 SECRET_KEY = 'enc*ln*vp^o2p1p6of8ip9v5_tt6r#fh2-!-@pl0ur^6ul6e)l'
14 COVER_IMAGE_UPLOAD_DIR = 'cover_images/'
16 PROFILE_IMAGE_UPLOAD_DIR ='profile_images/'
18 BOOKTYPE_URL = 'http://booktype.example.com/'
20 STATIC_URL = '{}static/'.format(BOOKTYPE_URL)
22 COMPRESS_URL = STATIC_URL
24 DATABASES = {"default": {
25 "NAME": ":memory:",
26 "ENGINE": "django.db.backends.sqlite3",
27 "USER": '',
28 "PASSWORD": '',
29 "PORT": '',
32 INSTALLED_APPS = (
33 'django.contrib.auth',
34 'django.contrib.contenttypes',
35 'django.contrib.sessions',
36 'django.contrib.sites',
37 'django.contrib.admin',
38 'django.contrib.messages',
39 'django.contrib.staticfiles',
41 'django_celery_results',
42 'compressor',
44 # list of booki apps
45 'booki.editor',
47 # needed for translation engine
48 'booktype',
50 # list of booktype apps
51 'booktype.apps.core',
52 'booktype.apps.portal',
53 'booktype.apps.loadsave',
54 'booktype.apps.importer',
55 'booktype.apps.convert',
56 'booktype.apps.edit',
57 'booktype.apps.reader',
58 'booktype.apps.account',
59 'booktype.apps.themes',
60 'booktype.apps.export',
62 # to be removed
63 'booki.messaging',
65 'sputnik',
66 'booktypecontrol'