Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#10387 closed (fixed)

code duplication in django.utils.cache

Reported by: travis@… Owned by: nobody
Component: Core (Cache system) Version: dev
Severity: Keywords: bikeshed
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Completely trivial commit, but while exploring the caching mechanisms of Django, I noticed some code duplication. The patch (attached) is ​viewable on Gist as well.

Attachments (2)

_generate_cache_header_key.patch​ (1.8 KB ) - added by Travis Swicegood <travis@…> 18 years ago.
10387.diff​ (1.6 KB ) - added by Matt Boersma 18 years ago.
Same patch, renamed with our preferred .diff extension

Download all attachments as: .zip

Change History (7)

by Travis Swicegood <travis@…>, 18 years ago

comment:1 by anonymous, 18 years ago

milestone: → 1.1
Triage Stage: Unreviewed → Accepted

by Matt Boersma, 18 years ago

Attachment: 10387.diff​ added

Same patch, renamed with our preferred .diff extension

comment:2 by Matt Boersma, 18 years ago

Triage Stage: Accepted → Ready for checkin

comment:3 by Jacob, 18 years ago

Resolution: → fixed
Status: new → closed

(In [10223]) Fixed #10387: removed some code duplication in django.utils.cache. Thanks, Travis Swicegood.

comment:4 by Jacob, 18 years ago

(In [10290]) [1.0.X] Fixed #10387: removed some code duplication in django.utils.cache. Thanks, Travis Swicegood.

Backport of r10223 from trunk.

comment:5 by Jacob, 15 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top