Opened 11 years ago

Closed 9 years ago

Last modified 8 years ago

#1642 closed enhancement (duplicate)

a directory option for FilePathField, or a DirPathField

Reported by: frank.hoffsummer@… Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: normal Keywords: fs-rf
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I would like to use FilePathField to return a list of directories. Alternatively, a DirPathField could be created that works just like FilePathField but on directories and not on files...

Attachments (1)

svn.diff (4.2 KB) - added by Nikolaus Schlemm <nikl@…> 11 years ago.
a possible way to implement this, works fine here :)

Download all attachments as: .zip

Change History (8)

Changed 11 years ago by Nikolaus Schlemm <nikl@…>

Attachment: svn.diff added

a possible way to implement this, works fine here :)

comment:1 Changed 10 years ago by Gary Wilson <gary.wilson@…>

Has patch: set
Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 10 years ago by James Bennett

Resolution: duplicate
Status: newclosed

Closing in favor of #5361.

comment:3 Changed 10 years ago by Marty Alchin

Keywords: fs-rf added

comment:4 Changed 9 years ago by Marty Alchin

milestone: post-1.0
Resolution: duplicate
Status: closedreopened
Version: SVN

As it turns out, I won't be dealing with FilePathField at all as part of #5361. I'm reopening this ticket so it can be debated on its own merits, apart from my refactor.

comment:5 Changed 9 years ago by Alex Gaynor

#5893 has a mostly current patch for this exact thing.

comment:6 Changed 9 years ago by Alex Gaynor

Resolution: duplicate
Status: reopenedclosed

I'm going to close this in favor of #5893 since it's patch is more up to date.

comment:7 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

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