-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Location
docs/lab2.md, Lab 2.3 Hints section (lines 348-354)
Issue
The hints section links to specific Django source code on the stable/5.2.x branch:
- https://github.com/django/django/blob/stable/5.2.x/django/db/models/aggregates.py#L168-L173
- https://github.com/django/django/blob/stable/5.2.x/django/db/models/aggregates.py#L26-L37
These links will become outdated as Django releases new versions, and line numbers may shift.
Suggested alternatives
- Link to
stable/mainor use a tag that matches the tutorial's supported Django version - Link to the Django documentation instead (which is version-aware)
- Add a note that line numbers may vary by Django version
- Keep the links but periodically review them when updating the tutorial for new Django releases
The documentation link on line 355 (https://docs.djangoproject.com/en/5.2/ref/models/querysets/#django.db.models.Count.distinct) has the same version-specific issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels