-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
23 lines (18 loc) · 913 Bytes
/
settings.py
File metadata and controls
23 lines (18 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from django.conf import settings
REPOS = getattr(settings, "REPOS", {
"local": settings.PROJECT_PATH,
"commitlog": "/home/kam/Projects/flatmate/env/src/commitlog/.git",
"tasty-pie": "/home/kam/Projects/flatmate/django-tastypie/.git",
#"commitlog": "/home/kam/Projects/flatmate/env/src/commitlog/.git",
})
REPO_BRANCH = getattr(settings, "REPO_BRANCH", "master")
REPO_RESTRICT_VIEW = getattr(settings, "REPO_RESTRICT_VIEW", True)
REPO_ITEMS_IN_PAGE = getattr(settings, "REPO_VIEW_IN_PAGE", 10)
FILE_BLACK_LIST = getattr(settings,"FILE_BLACK_LIST",
("settings.py",)
)
GITTER_MEDIA_URL = getattr(settings,"GITTER_MEDIA_URL", settings.STATIC_URL )
# limit editor height for large documets
LIMIT_EDITOR_HEIGHT = getattr(settings,"LIMIT_EDITOR_HEIGHT", "300" )
EDITABLE_MIME_TYPES = getattr(settings,"EDITABLE_MIME_TYPES", ["text", "application"] )
PARTIAL_PREFIX = getattr(settings,"PARTIAL_PREFIX", "_")