This page documents all environment variables that the NAMETS platform reads at startup throughDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Muhammadbugaje/NAMETS_Website/llms.txt
Use this file to discover all available pages before exploring further.
os.environ.get() and python-dotenv’s load_dotenv(). Variables are grouped by concern. In production on Render, these are set in the service’s Environment tab or declared in render.yaml. Locally, place them in a .env file at the project root — Django loads it automatically.
Core Django Settings
The Django cryptographic secret key used to sign cookies, sessions, and CSRF tokens. In production, Render generates this automatically (
generateValue: true). Never share or reuse a production key.Enables Django’s debug mode. Set to
True only in local development. The render.yaml explicitly sets this to false for all deployed instances. When True, full tracebacks are exposed to the browser.A comma-separated list of hostnames Django is permitted to serve. In production this defaults to
.onrender.com, which matches all Render subdomains. For local development, localhost,127.0.0.1 is used as the fallback.A comma-separated list of origins Django will accept CSRF tokens from. Required when the site is behind a reverse proxy or accessed through a custom domain. Example:
https://namets.onrender.com,https://namets.org.Database
A full PostgreSQL connection string parsed by
dj-database-url. This is the only database variable required in production — the library extracts host, port, user, password, and database name from the URL automatically.The
render.yaml marks this as sync: false, meaning Render will not auto-populate it — you must paste the connection string from your PostgreSQL provider (e.g. Neon, Aiven, Supabase, Render Postgres).Cloudinary Media Storage
Your Cloudinary cloud name, found in the Cloudinary dashboard under Settings → Account. All media uploads (images, PDFs, files) are routed to this cloud.
The API key for your Cloudinary account. Used together with
CLOUDINARY_API_SECRET to authenticate upload and management requests.The API secret for your Cloudinary account. Treat this like a password — it grants full write access to your media library.
n8n Automation
A long-lived API token generated inside your n8n instance. The platform’s
N8NAuthentication class reads this from settings and compares it against the X-N8N-Token header on every API request originating from n8n. If the tokens do not match, the request is rejected with 401 Unauthorized.The full URL of the n8n webhook that receives outbound events from the NAMETS platform. Defaults to the Render-hosted n8n service URL declared in
render.yaml. Override this if you self-host n8n elsewhere.A shared secret included in outbound webhook payloads so that the n8n endpoint can verify the request originated from NAMETS. Set
sync: false in render.yaml — supply it manually in the Render dashboard.