Opened 6 years ago

Closed 4 years ago

#11531 closed Cleanup/optimization (fixed)

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

Reported by: mk 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 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by julien

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:3 Changed 4 years ago by julien

  • Triage Stage changed from Accepted to Ready 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 4 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

In [16068]:

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

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