Opened 11 years ago
Closed 11 years ago
#21543 closed Cleanup/optimization (fixed)
Unused base_dir attribute in StaticFilesHandler
Reported by: | Krzysztof Jurewicz | Owned by: | Krzysztof Jurewicz |
---|---|---|---|
Component: | contrib.staticfiles | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In django.contrib.staticfiles.handlers.StaticFilesHandler
class, the __init__
function sets the base_dir
the attribute. This attribute seems to be unused anywhere in the codebase, so it can be removed.
Change History (2)
comment:1 by , 11 years ago
Has patch: | set |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I’ve created a pull request: https://github.com/django/django/pull/2014