Opened 9 years ago

Last modified 9 years ago

#16429 new New feature

Add configurable caching to FilePathField

Reported by: Daniel Swarbrick Owned by: nobody
Component: Forms Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


As noted by a couple of people on django-users, FilePathField does not automatically refresh choices if files are add to or removed from the path being pointed to ( and

A nice addition to FilePathField would be the ability to control how long the choices are cached for, ranging from "never cached" to "cached forever" (or at least for the lifetime of the webserver process).

Change History (1)

comment:1 Changed 9 years ago by Luke Plant

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