# Default cache duration
CACHE_RELATION_DEFAULT_DURATION = 60 * 60 * 24 * 3

from django.conf import settings

# Default cache timeout
CACHE_RELATION_DEFAULT_DURATION = getattr(
    settings,
    'CACHE_RELATION_DEFAULT_DURATION',
    60 * 60 * 24 * 3,
)

Allow global settings to override.
Allow global settings to override.

Signed-off-by: Chris Lamb <711c73f64afdce07b7e38039a96d2224209e9a6c@playfire.com>
