Opened 7 years ago

Closed 5 years ago

#11531 closed Cleanup/optimization (fixed)

Remove unused file django/contrib/admin/media/js/dateparse.js

Reported by: Matthias Kestenholz Owned by: nobody
Component: contrib.admin Version: 1.0
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

There is no reference to dateparse.js anywhere in the Django code base (I searched with git log -Sdateparse and with git grep dateparse $various_revisions), and the only ticket in the tracker where dateparse.js is mentioned is #2975 . I think it's therefore quite safe to assume that this file is unused.

It does not hurt though, so do what you want with it. #2975 could be closed if this ticket is accepted, which would be a minimal contribution to keeping the ticket tracker clean.

Change History (4)

comment:1 Changed 7 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by Julien Phalip

Severity: Normal
Type: Cleanup/optimization

comment:3 Changed 5 years ago by Julien Phalip

Triage Stage: AcceptedReady for checkin

Agreed, there's no point in keeping this file -- it's not used anywhere.

Marking RFC. There's no patch, simply delete the file django/contrib/admin/media/js/dateparse.js

comment:4 Changed 5 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

In [16068]:

Fixed #11531 -- Removed unused dateparse.js from admin JavaScript directory.

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