Opened 16 years ago

Closed 16 years ago

Last modified 13 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@…> 16 years ago.
10387.diff (1.6 KB ) - added by Matt Boersma 16 years ago.
Same patch, renamed with our preferred .diff extension

Download all attachments as: .zip

Change History (7)

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

comment:1 by anonymous, 16 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

by Matt Boersma, 16 years ago

Attachment: 10387.diff added

Same patch, renamed with our preferred .diff extension

comment:2 by Matt Boersma, 16 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by Jacob, 16 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, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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