Changes between Initial Version and Version 8 of Ticket #16429


Ignore:
Timestamp:
Dec 14, 2023, 12:00:44 PM (3 years ago)
Author:
Natalia Bidart
Comment:

After ​these comment in the PR, I'm re-titling this ticket accordingly to adjust scope and allow for a more pragmatic yet useful solution.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16429

    • Property Triage Stage Unreviewed → Accepted
    • Property Owner changed from nobody to James Walters
    • Property Status new → assigned
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Cc Carlton Gibson David Smith added
    • Property Summary Add configurable caching to FilePathField → Allow refresh of path choices for FilePathField
  • Ticket #16429 – Description

    initial v8  
    11As 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 (http://groups.google.com/group/django-users/browse_thread/thread/6778fa138b848996 and http://groups.google.com/group/django-users/browse_thread/thread/403d872cf9433905).
    22
    3 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).
     3A nice addition to FilePathField would be the ability to refresh the path choices on a per-request basis.
Back to Top