Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10387 closed (fixed)

code duplication in django.utils.cache

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

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

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Travis Swicegood <travis@…>

comment:1 Changed 8 years ago by anonymous

milestone: 1.1
Triage Stage: UnreviewedAccepted

Changed 8 years ago by Matt Boersma

Attachment: 10387.diff added

Same patch, renamed with our preferred .diff extension

comment:2 Changed 8 years ago by Matt Boersma

Triage Stage: AcceptedReady for checkin

comment:3 Changed 8 years ago by Jacob

Resolution: fixed
Status: newclosed

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

comment:4 Changed 8 years ago by Jacob

(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 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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