Django settings for Devilry

Settings added for Devilry.

devilry.project.common.projectspecific_settings.DEVILRY_COMPRESSED_ARCHIVES_DIRECTORY = None

The directory where compressed archives are stored. Archives are compressed when examiners or students downloads files from an assignment or a feedbackset.

devilry.project.common.projectspecific_settings.DEVILRY_IMPORTED_PERIOD_TAG_DEFAULT_PREFIX = 'x'

The default tag prefix used when importing tags from from an external system.

devilry.project.common.projectspecific_settings.DEVILRY_SKIP_RQ_TESTS = False

Disable tests that require RQ to run.

devilry.project.common.projectspecific_settings.DEVILRY_RQ_EMAIL_BACKEND_QUEUENAME = 'email'

RQ email queue

devilry.project.common.projectspecific_settings.DEVILRY_DEFAULT_EMAIL_USERNAME_SUFFIX = None

If this is set, and the DJANGO_CRADMIN_USE_EMAIL_AUTH_BACKEND-setting is False, users will be assigned <username><DEVILRY_DEFAULT_EMAIL_USERNAME_SUFFIX> as their primary email address when they are created.

devilry.project.common.projectspecific_settings.DEVILRY_LACKING_PERMISSIONS_URL = None

Url where users are directed when they do not have the permissions they believe they should have.

devilry.project.common.projectspecific_settings.DEVILRY_WRONG_USERINFO_URL = None

Url where users are directed when they want to know what to do if their personal info in Devilry is wrong.

devilry.project.common.projectspecific_settings.DEVILRY_OFFICIAL_HELP_URL = 'http://devilry.org#help'

The URL of the official help pages for Devilry.

devilry.project.common.projectspecific_settings.DEVILRY_ORGANIZATION_SPECIFIC_DOCUMENTATION_URL = None

Url where users can go to get documentation for Devilry that your organization provides.

devilry.project.common.projectspecific_settings.DEVILRY_ORGANIZATION_SPECIFIC_DOCUMENTATION_TEXT = None

Text for the DEVILRY_ORGANIZATION_SPECIFIC_DOCUMENTATION_URL link.

devilry.project.common.projectspecific_settings.DEVILRY_DOCUMENTATION_VERSION = 'latest'

The documentation version to use.

devilry.project.common.projectspecific_settings.DEVILRY_FRONTPAGE_HEADER_INCLUDE_TEMPLATE = None

A Django template to include at the top of the frontpage (below the navbar, but above the main content).

A Django template to include at the bottom of the frontpage.

devilry.project.common.projectspecific_settings.DEVILRY_HELP_PAGE_HEADER_INCLUDE_TEMPLATE = None

A Django template to include at the top of the help page (below the navbar, but above the main content).

A Django template to include at the bottom of the help page.

devilry.project.common.projectspecific_settings.DEVILRY_PROFILEPAGE_HEADER_INCLUDE_TEMPLATE = None

A Django template to include at the top of the profile page (below the navbar, but above the main content).

A Django template to include at the bottom of the profile page.

devilry.project.common.projectspecific_settings.DEVILRY_ENABLE_REALTIME_ZIPFILE_CREATION = True

Enable/disable creating zip-files on demand. This requires a traditional file system.

devilry.project.common.projectspecific_settings.DEVILRY_JAVASCRIPT_LOCALE_OVERRIDE_APPS = ()

Django apps that override the Devilry javascript translations (which is most of the Devilry user interface).

devilry.project.common.projectspecific_settings.DEVILRY_ENABLE_MATHJAX = True

Enable MathJax?

devilry.project.common.projectspecific_settings.DEVILRY_ASSIGNMENT_PUBLISHING_TIME_DELAY_MINUTES = 360

The number of minutes to delay publishing an assignment after it is created. This is also the minimum amount of time between the current time and the first deadline.

devilry.project.common.projectspecific_settings.DEVILRY_RESTRICT_NUMBER_OF_FILES_PER_DIRECTORY = False

If this is True, we enable an upload directory structure that scales to a lot of files on filesystems with limits on files per directory. Normally needed if you are using a traditional filesystem, but not for blob storage filesystems like AWS S3.

devilry.project.common.projectspecific_settings.DEVILRY_FEIDE_USERID_SEC_TO_USERNAME_SUFFIX = None

If this is set to a value, we extract a prettier shortname for a user than “feide:myname@mydomain.no” for the provided suffix.

I.E.: If you set this to “uio.no”, University of Oslo users that authenticate with Feide will get their UiO username as their shortname.

It is very dangerous to change this value after you have users in the database because it can lead to users getting access to other users accounts. Lets say two different users with ID feide:peter@test1.com and feide:peter@test2.com exists in Dataporten. If you first set this setting to @test1.com, and later change this setting to test2.com, the peter from test2.com will gain access to the Devilry account for the peter from test1.com!

devilry.project.common.projectspecific_settings.DEVILRY_BRANDING_FAV_ICON_PATH = None

If this is set to a value, we will use this as the favicon.

devilry.project.common.projectspecific_settings.DEVILRY_HARD_DEADLINE_INFO_FOR_STUDENTS = {'__default': 'This assignment uses hard deadlines. You will not be able to write comments or upload files after the deadline has expired.'}

Hard deadline info texts for students.

devilry.project.common.projectspecific_settings.DEVILRY_HARD_DEADLINE_INFO_FOR_EXAMINERS_AND_ADMINS = {'__default': 'This assignment uses hard deadlines. Students will not be able to write comments or upload files after the deadline has expired.'}

Hard deadline info texts for examiners and admins