comparison gpp/settings.py @ 392:79240675b903

For #178; using the queued_search app to update the search index. Installed redis and dependencies.
author Brian Neal <bgneal@gmail.com>
date Wed, 23 Mar 2011 02:02:44 +0000
parents 6d6fdc58487c
children 76ba9478ebbd
comparison
equal deleted inserted replaced
391:0398aae48807 392:79240675b903
132 'django.contrib.sites', 132 'django.contrib.sites',
133 'django.contrib.staticfiles', 133 'django.contrib.staticfiles',
134 'elsewhere', 134 'elsewhere',
135 'tagging', 135 'tagging',
136 'haystack', 136 'haystack',
137 'queued_search',
137 'accounts', 138 'accounts',
138 'antispam', 139 'antispam',
139 'bio', 140 'bio',
140 'bulletins', 141 'bulletins',
141 'comments', 142 'comments',
263 264
264 if DEBUG: 265 if DEBUG:
265 DEBUG_TOOLBAR_CONFIG = local_settings.DEBUG_TOOLBAR_CONFIG 266 DEBUG_TOOLBAR_CONFIG = local_settings.DEBUG_TOOLBAR_CONFIG
266 267
267 ####################################################################### 268 #######################################################################
269 # Asynchronous settings (queues, queued_search, redis, celery, etc)
270 #######################################################################
271 QUEUE_BACKEND = 'redisd'
272 QUEUE_REDIS_CONNECTION = 'localhost:6379'
273 QUEUE_REDIS_DB = 0
274
275 #######################################################################
268 # URL's of 3rd party Javascript and CSS files. 276 # URL's of 3rd party Javascript and CSS files.
269 # These dictionaries are used by core/templatetags/script_tags, and 277 # These dictionaries are used by core/templatetags/script_tags, and
270 # should also be used by developers when creating form media classes. 278 # should also be used by developers when creating form media classes.
271 GPP_THIRD_PARTY_JS = { 279 GPP_THIRD_PARTY_JS = {
272 'jquery': ( 280 'jquery': (