X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=settings.py;h=199ffef81e82c7ff7d9a3a1c0e89f8d054477e6a;hb=d8f805b1f13195d66741a01822b6cde2fc3ce320;hp=0f2d4da46c0eb93821addb9387c15960e1769cf7;hpb=ec24a6e984345b26f7038f3e1b11bf1c2fb482f7;p=htsworkflow.git diff --git a/settings.py b/settings.py index 0f2d4da..199ffef 100644 --- a/settings.py +++ b/settings.py @@ -86,6 +86,8 @@ options_to_list(options, ADMINS, 'frontend', 'admins') MANAGERS = [] options_to_list(options, MANAGERS, 'frontend', 'managers') +DEFAULT_PM=int(options.get('frontend', 'default_pm')) + AUTHENTICATION_BACKENDS = ( 'htsworkflow.frontend.samples.auth_backend.HTSUserModelBackend', ) CUSTOM_USER_MODEL = 'samples.HTSUser' @@ -216,4 +218,3 @@ BCPRINTER_PRINTER1_PORT = int(options.get('bcprinter', 'printer1_port')) BCPRINTER_PRINTER2_HOST = options.get('bcprinter', 'printer2_host') BCPRINTER_PRINTER2_PORT = int(options.get('bcprinter', 'printer2_port')) -DEFAULT_PM=int(options.get('frontend', 'default_pm'))