QATrack+ Local Settings ======================= Local settings allow you to override the default QATrack+ settings to better meet your clinics needs. The most important settings are explained below. These settings should be defined in a ``local_settings.py`` file in the main directory (same directory as ``settings.py``) Email Settings -------------- See the `email settings page `__ for details. Admin Email ----------- Who should be emailed when internal QATrack+ errors occur: :: ADMINS = ( ('Admin Name', 'admin.email@yourplace.com'), ) MANAGERS = ADMINS Cache Settings -------------- By default QATrack+ stores cached pages and values on disk in the directory ``qatrack/cache/cache_data/`` but this can be changed by copying the Python dictionary below into your ``local_settings.py`` file: :: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 'LOCATION': '/path/to/your/desired/cache/data/location/', 'TIMEOUT': 24*60*60, # cache timeout of 24hours } } Generally you shouldn't need to change this unless you have concerns about disk usage. Time Zone Settings ------------------ By default QATrack+ is configured to use North American Eastern Standard Time so you will need to adjust this to reflect your local time zone. In your *local\_settings.py* file add a line like the following: :: TIME_ZONE = 'America/Toronto' where 'America/Toronto' is replaced with your local timezone (e.g. ``TIME_ZONE = 'Australia/Sydney'``. If you are unsure, you can find a list of `valid timezones on Wikipedia `__. Icon Settings ------------- By default QATrack+ will show icons to indicate the pass/fail or due/overdue/not due status of tests and test lists. Examples of the icons can be seen on `BitBucket `__ To override the default settings, copy the following Python dictionary to your ``local_settings.py`` file and change the relevant setting to True/False. :: ICON_SETTINGS = { 'SHOW_STATUS_ICONS_PERFORM': True, 'SHOW_STATUS_ICONS_LISTING': True, 'SHOW_STATUS_ICONS_REVIEW': True, 'SHOW_STATUS_ICONS_HISTORY': False, 'SHOW_REVIEW_ICONS': True, 'SHOW_DUE_ICONS': True, } - ``SHOW_STATUS_ICONS_PERFORM`` controls whether the icons are shown when a user is performing a test list. - ``SHOW_STATUS_ICONS_LISTING`` controls whether icons are shown on listings pages which show the results of the last QA session. (Default True) - ``SHOW STATUS_ICONS_REVIEW`` controls whether the icons are shown when a user is reviewing a test list. (Default True) - ``SHOW STATUS_ICONS_HISTORY`` controls whether the icons are shown for historical results when a user is performing or reviewing a test list. (Default False) - ``SHOW_REVIEW_ICONS`` control whether to show warning icon for unreviewed test lists. (Default True) - ``SHOW_DUE_ICONS`` control whether to show icons for the due status of test lists. (Default True) Other Settings -------------- AUTO\_REVIEW\_DEFAULT ~~~~~~~~~~~~~~~~~~~~~ Set ``AUTO_REVIEW_DEFAULT = True`` in your ``local_settings.py`` file in order to enable `Auto Review <../admin/auto_review.html>`__ by default. ORDER\_UNITS\_BY ~~~~~~~~~~~~~~~~ Set ``ORDER_UNITS_BY = 'name'`` in your ``local_settings.py`` file in order to order units by ``name`` rather than ``number``