Conversation
KiporenkoMaksym
commented
Feb 13, 2026
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
I am requesting changes because there is still one core requirement missing in your configuration that affects how templates are discovered. Functionally, your index view, URL routing, and templates (including base.html and includes/sidebar.html) are correctly implemented and meet the main task goals, which is great. However, in taxi_service/settings.py, the TEMPLATES[0]["DIRS"] list is empty; per the task, you must tell Django where to find project-level templates, for example by adding BASE_DIR / "templates" to that list so the engine searches the project templates/ directory as required.
Critical fixes needed:
- Templates directory configuration (blocker): In
taxi_service/settings.py, locate theTEMPLATESsetting (around the existing"DIRS": []line) and change it so it includes your project templates folder, e.g."DIRS": [BASE_DIR / "templates"]. This directly addresses the requirement to configure the template engine to look in the project-leveltemplates/directory and ensures future templates placed there will be found. - Minor but checklist-related: In
taxi/templates/taxi/index.html, add a single trailing newline after{% endblock %}so the file ends with exactly one blank line [CHECKLIST ITEM #1].
Once you update the template directories in settings and add that final newline, your solution will fully align with both the functional requirements and the checklist; the core implementation is solid, so you are very close—nice work so far.
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Important
Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.
Tip
If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.
Caution
Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.
Footnotes
| <li>Number of manufacturers: {{ num_manufacturers }}</li> | ||
| </ul> | ||
|
|
||
| {% endblock %} |
There was a problem hiding this comment.
This violates checklist item #1: 'Ensure each file ends with a single blank line'. Add a single newline at the end of this file (after the {% endblock %}) so the file ends with one blank line.
|
|
||
| STATIC_URL = "static/" | ||
|
|
||
| STATICFILES_DIRS = [ |
There was a problem hiding this comment.
TEMPLATES['DIRS'] is empty. This violates the requirement: "Edit settings so that engine knows where to look for template source files." Add the project templates directory, for example:
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [BASE_DIR / "templates"],
"APP_DIRS": True,
...
},
]Place this change so the engine will find templates in the project-level templates/ directory.