The NAMETS platform exposes a singleton-style Site Settings record in the Django admin that acts as a central control panel for user-facing feature flags. Rather than deploying code changes every time applications open or close for a new session, administrators simply update a single database row. TheDocumentation 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.
SiteSettings model lives in the core app and is accessible at /admin/ under the Administration section in the sidebar.
Only one
SiteSettings record should exist at any time. If the record is deleted, default values apply and all application portals will be closed until a new record is created.Accessing Site Settings
Log in to the admin panel
Navigate to
https://your-site.onrender.com/admin/ and sign in with a superuser account. Only superusers have permission to view and edit Site Settings.Open Site Settings
In the left sidebar, scroll to the Administration group and click Site Settings. You will see the single settings record.
Field Reference
All fields belong to thecore.SiteSettings model. Boolean fields gate user-facing pages; text fields supply the intro copy shown at the top of each form.
When
True, the tutor application form on the public site becomes accessible and accepts new submissions. When False, the form is hidden or replaced with a “closed” message. Maps to the help text: “Allow tutor applications?”Controls whether the NAMETS membership application form is open to new submissions. Toggle this at the start of each academic session when recruiting new members.
Opens or closes the Islamiyya class registration portal. Students can only register when this flag is
True.An optional WhatsApp group invite URL sent to students after their Islamiyya registration is verified. Leave blank if no WhatsApp group is in use for the current session.
When
True, the tutor evaluation form is visible to students so they can rate their tutors. Close this after the evaluation window ends to prevent late submissions. Maps to the help text: “Allow students to submit tutor evaluations?”A short paragraph displayed at the top of the tutor application page to motivate prospective applicants. Edit this each session to keep the messaging current.
Introductory text shown at the top of the membership application form. Customize this per session or recruitment drive.
A brief prompt displayed above the tutor evaluation submission form to encourage students to participate in feedback.
How Feature Flags Work
The platform checks these boolean flags before rendering application or registration forms. The general flow is:User visits an application page
For example, a student navigates to the Islamiyya registration page.
View reads SiteSettings
The Django view fetches the
SiteSettings singleton and inspects the relevant boolean field (e.g. islamiyya_registration_open).Quick Reference Table
| Field | Type | Default | Controls |
|---|---|---|---|
tutor_applications_open | Boolean | False | Tutor application form visibility |
membership_applications_open | Boolean | False | Membership application form visibility |
islamiyya_registration_open | Boolean | False | Islamiyya registration form visibility |
islamiyya_whatsapp_link | URL | null | WhatsApp invite link sent post-verification |
tutor_evaluations_open | Boolean | False | Tutor evaluation form visibility |
tutor_intro_text | Text | See above | Intro copy on tutor application page |
membership_intro_text | Text | See above | Intro copy on membership application page |
evaluation_intro_text | Text | See above | Intro copy on tutor evaluation page |