-
Notifications
You must be signed in to change notification settings - Fork 79
/
settings_local.dist.py
45 lines (35 loc) · 980 Bytes
/
settings_local.dist.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from settings import *
# Useful settings for running a local instance of batucada.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DATABASES = {
'default': {
'NAME': 'batucada',
'ENGINE': 'django.db.backends.mysql',
'HOST': '',
'PORT': '',
'USER': 'root',
'PASSWORD': '',
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'},
}
}
TIME_ZONE = 'America/Toronto'
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
}
INSTALLED_APPS += (
'debug_toolbar',
'django_nose',
)
MIDDLEWARE_CLASSES += (
'debug_toolbar.middleware.DebugToolbarMiddleware',
)
INTERNAL_IPS = ('127.0.0.1',)
# Use dummy caching for development.
CACHE_BACKEND = 'dummy://'
CACHE_PREFIX = 'batucada'
CACHE_COUNT_TIMEOUT = 60
# Execute celery tasks locally, so you don't have to be running an MQ
CELERY_ALWAYS_EAGER = True
# Path to ffmpeg. This will have to be installed to create video thumbnails
FFMPEG_PATH = '/usr/bin/ffmpeg'