| 1234567891011121314 |
- from django.shortcuts import render
- def index(request):
- """
- Renders the index page for the report app.
- """
- # Optional: Pass any context variables to the template
- context = {
- 'page_title': 'Report Dashboard',
- 'reports': [], # Replace with actual data, e.g., a queryset from the database
- }
- return render(request, 'report/index.html', context)
|