fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
concurrency: no save in tasks
[audio.git]
/
audiobooks
/
settings.py
diff --git
a/audiobooks/settings.py
b/audiobooks/settings.py
index
9f0731a
..
dc55333
100644
(file)
--- a/
audiobooks/settings.py
+++ b/
audiobooks/settings.py
@@
-58,7
+58,7
@@
MEDIA_ROOT = os.path.join(PROJECT_ROOT, '../media')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
-MEDIA_URL = ''
+MEDIA_URL = '
/media/
'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
@@
-128,6
+128,9
@@
INSTALLED_APPS = (
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
+ 'djcelery',
+ 'djkombu',
+
'south',
'archive',
)
'south',
'archive',
)
@@
-157,6
+160,18
@@
LOGGING = {
+
+import djcelery
+djcelery.setup_loader()
+
+BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
+BROKER_HOST = "localhost"
+BROKER_PORT = 5672
+BROKER_USER = "guest"
+BROKER_PASSWORD = "guest"
+BROKER_VHOST = "/"
+
+
try:
from localsettings import *
except:
try:
from localsettings import *
except: