Code

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#14038 closed (fixed)

1.2 Release notes don't mention new template loader classes

Reported by: 3point2 Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: yes
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As of 1.2, template loaders like django.template.loaders.filesystem.load_template_source have been deprecated in favor of django.template.loaders.filesystem.Loader.

This is not mentioned in the release notes, but other deprecated settings (like DATABASE_*) are.

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Good catch!. The API change was introduced in r11862. We didn't mark the new class-based loader stuff accordingly on source:django/trunk/docs/ref/templates/api.txt (and source:django/trunk/docs/ref/settings.txt ?) either.

comment:2 Changed 4 years ago by adamv

  • Needs documentation set

Given that 1.3 is coming soon, what should be done here, if anything? Retroactively update the 1.2 release notes?

comment:3 Changed 4 years ago by lukeplant

Updating the docs/releases/1.2.txt release notes on trunk and on the 1.2.X branch would be the best idea. Although it obviously won't help people reading the 1.2 docs from an existing tarball, it will help people using the docs online and those reading the docs with the next 1.2.X release.

comment:4 Changed 3 years ago by ramiro

#15102 involves a case of a user that got surprised by change of behavior because he didn't find in this in the release notes when updating his Django installation from 1.2 to in development 1.3.

comment:5 Changed 3 years ago by ramiro

  • Resolution set to fixed
  • Status changed from new to closed

(In [15309]) Fixed #14038 -- Added information to release notes and version changed|added markers to documentation additions for the new template loeaders API introduced in version 1.2. Thanks 3point2 for the report.

comment:6 Changed 3 years ago by ramiro

(In [15310]) [1.2.X] Fixed #14038 -- Added information to release notes and version changed|added markers to documentation additions for the new template loeaders API introduced in version 1.2. Thanks 3point2 for the report.

Backport of [15309] from trunk

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.