#29075 closed Uncategorized (worksforme)
Wrong version in settings.py comments
| Reported by: | Vedran Karačić | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 2.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
I installed a fresh Django 2.0.1 project and in the settings.py file, the comments link to the 1.11 version documentation. I think this should link to 2.0 documentation. For example:
# Database # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
should be:
# Database # https://docs.djangoproject.com/en/2.0/ref/settings/#databases
Note:
See TracTickets
for help on using tickets.
The code looks correct and I couldn't reproduce this. Probably Django 1.11 was used when you ran
django-admin startproject.