Orange County Lettings exposes Django’s built-in administration interface so that authorised staff members can manage all application data without writing code. The admin panel provides a full CRUD interface — list, add, change, and delete — for every registered model.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/OpenClassrooms-Student-Center/Python-OC-Lettings-FR/llms.txt
Use this file to discover all available pages before exploring further.
Accessing the admin panel
The admin panel is available at the/admin/ path of your running instance.
| Environment | URL |
|---|---|
| Development | http://localhost:8000/admin |
| Production | https://<your-domain>/admin |
- Username:
admin - Password:
Abc1234!
Registered models
The following models are registered inadmin.py and are therefore manageable through the admin panel:
| Model | Description |
|---|---|
Letting | Holiday home listings — title and linked address |
Address | Postal addresses associated with individual lettings |
Profile | User profiles extending Django’s built-in User model |
Available actions
For each registered model the admin panel provides four standard operations:Only Django users with
is_staff=True can log in to the admin panel. To grant a user staff access, set their is_staff flag to True via python manage.py shell or by editing the user record in the admin panel itself under Authentication and Authorization → Users.Explore other features
Holiday home listings
Browse all available rental properties and view their full addresses.
User profiles
Browse registered user profiles and their favorite city preferences.