Add support for not using CDN-based resources. When USE_CDN = False, all CDN-based resources will instead be used from the local system.

This commit is contained in:
Joseph Schorr 2014-05-09 18:49:33 -04:00
parent 027ada1f5c
commit 08ccad7fe4
5 changed files with 101 additions and 17 deletions

View file

@ -68,6 +68,10 @@ class DefaultConfig(object):
DB_TRANSACTION_FACTORY = create_transaction
# If true, CDN URLs will be used for our external dependencies, rather than the local
# copies.
USE_CDN = True
# Data storage
STORAGE_TYPE = 'LocalStorage'
STORAGE_PATH = 'test/data/registry'