Skip to content

Constants

Global variables.

List of variables:

  • DEBUG - Caching a condition for the verification code.
  • MONGO_CLIENT - Caching a Mongo client.
  • MONGO_DATABASE - Caching a Mongo database.
  • DATABASE_NAME - Caching a database name.
  • SUPER_COLLECTION_NAME - Caching a super collection name.
  • MEDIA_ROOT - Absolute filesystem path to the directory that will hold user-uploaded files.
  • MEDIA_URL - URL that handles the media served from MEDIA_ROOT, used for managing stored files.
  • STATIC_ROOT - The absolute path to the directory where static files are located.
  • STATIC_URL - URL to use when referring to static files located in STATIC_ROOT.
  • UTC_TIMEZONE - Caching a patterns of regular expression.
  • REGEX - Caching a patterns of regular expression.