#BASIC_AUTH_URLS = [ # r'^/dummyom/.*', #] #VT_AM BASIC_AUTH_URLS = [ r'^/dummyom/.*', #r'^/xmlrpc/vt_am/.*' r'^/vt_plugin/xmlrpc/vt_am.*' ] '''List of URL regular expressions that accept HTTP Basic Authentication. This is used to enable some tests to work. ''' append_to_local_setting("BASIC_AUTH_URLS", BASIC_AUTH_URLS, globals()) SITE_LOCKDOWN_EXCEPTIONS = [ r'^/accounts/register/.*$', r'^/accounts/activate/.*$', r'^/admin/.*', r'^/accounts/password/reset/.*$', r'^/img/.*', r'^/css/.*', #ORIGINA NOT COMMENTED # r'^/static/media/.*', # r'.*/xmlrpc/?', ] '''List of URL regular expressions that do not require the user to be logged in to access.''' append_to_local_setting(
This needs to be overridden. ''' # List of callables that know how to import templates from various sources. #TEMPLATE_LOADERS = [ # 'django.template.loaders.filesystem.load_template_source', # 'django.template.loaders.app_directories.load_template_source', #] TEMPLATE_LOADERS = [ ('django.template.loaders.cached.Loader',( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', )), ] append_to_local_setting( "TEMPLATE_LOADERS", TEMPLATE_LOADERS, globals()) MIDDLEWARE_CLASSES = [ # 'expedient.common.middleware.exceptionprinter.ExceptionPrinter', 'django.middleware.common.CommonMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.RemoteUserMiddleware', 'expedient.common.middleware.basicauth.HTTPBasicAuthMiddleware', 'expedient.common.middleware.sitelockdown.SiteLockDown', 'expedient.common.middleware.threadlocals.ThreadLocals', 'expedient.common.permissions.middleware.PermissionMiddleware', 'expedient.clearinghouse.geni.middleware.CreateUserGID', 'mit.ScriptsRemoteUserMiddleware',
SITE_LOCKDOWN_EXCEPTIONS = [ r'^/accounts/register/.*$', r'^/accounts/activate/.*$', r'^/admin/.*', r'^/accounts/password/reset/.*$', r'^/img/.*', r'^/css/.*', # r'^/static/media/.*', # r'.*/xmlrpc/?', ] '''List of URL regular expressions that do not require the user to be logged in to access.''' append_to_local_setting( "SITE_LOCKDOWN_EXCEPTIONS", SITE_LOCKDOWN_EXCEPTIONS, globals(), ) UI_PLUGINS = [ # ('expedient.ui.html.plugin', 'html_ui', 'expedient.ui.html.urls'), ('expedient.ui.rspec.plugin', 'rspec_mgr', 'expedient.ui.rspec.urls'), ] '''List of UI plugins that are enabled in Expedient. This is a list of 3-tuples: 1. The first element is the absolute path to a callable that describes the plugin. It should take as input an L{expedient.clearinghouse.slice.models.Slice} instance and return a tuple (plugin name, plugin description, url to go to for access)