Settings
This section covers the custom settings for configuring the RDMC Creation Workflow platform.
Custom Project Settings
1. MEDIA_ROOT
Description: Specifies the path where uploaded media files will be stored.
Default Value: Defined dynamically as the ‘upload’ directory inside the project’s base directory.
Example:
MEDIA_ROOT = os.path.join(BASE_DIR, 'upload')
2. MANIFEST_FILE_NAME
Description: Name of the manifest file used within the project.
Default Value: ‘manifest.rdmc’
Example:
MANIFEST_FILE_NAME = 'manifest.rdmc'
3. SCHEMA_FILE_NAME
Description: Name of the schema file used within the project.
Default Value: ‘schema.json’
Example:
SCHEMA_FILE_NAME = 'schema.json'
4. IS_DEMO
Description: A flag used to run the platform in demo mode. When enabled (as on the public Demo website), physical file uploads from a user’s device are disabled; combined with the nightly cleanup job, nothing is stored permanently. Keep this
Falsefor Stable/production or full local use.Default Value:
Falseunless the environment variableRDMC_RUN_AS_DEMOis set totrue.Example:
IS_DEMO = os.getenv('RDMC_RUN_AS_DEMO', 'false').lower() == 'true'
Security Considerations
When running in demo mode (
IS_DEMO = True), physical file uploads and other restricted features are disabled to prevent misuse.