Need Help with Final Work #209747
Replies: 2 comments 1 reply
|
I checked your current Your house-detail route already calls Add <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>House {{ house_number }} — {{ village.name }}</title>
</head>
<body>
<h1>{{ village.name }} — House {{ house_number }}</h1>
{% if error %}
<p role="alert">{{ error }}</p>
{% else %}
<p>Families registered: {{ families|length }}</p>
<table>
<caption>Registered families and member counts</caption>
<thead>
<tr><th scope="col">Family</th><th scope="col">Members</th></tr>
</thead>
<tbody>
{% for family in families %}
<tr>
<td><a href="{% url 'family_detail' family.id %}">{{ family.family_name }}</a></td>
<td>{{ family.members.all|length }}</td>
</tr>
{% empty %}
<tr><td colspan="2">No families registered for this house.</td></tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</body>
</html>Your view already has I tested this template with your actual models and Once this works locally, you can apply your existing theme and add navigation to the page. For the wider reporting work, define whether “households” means registered families or distinct occupied References: Django template loading and prefetch_related. |
|
Hi! I had a look at your repository. The project seems to have a good foundation, so I'd recommend improving the existing features rather than rebuilding anything. A few things I noticed:
Since you're handling healthcare information, also make sure sensitive personal data is properly protected. If you share a specific bug or unfinished feature, it would be easier to suggest an exact solution. Hope this helps, and good luck finishing the project! |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
my project is almost ready. I just need a little help to complete the remaining work.
Colour/UI polishing
Reporting module
Bug fixing
Some pending dashboard work, especially household/householder reporting and related sections
Final testing and small improvements
The main project and workflow are already completed. I don't need the project to be rebuilt from scratch. I just need help finishing these remaining parts.
please help me ::
Guidelines
All reactions