Opened 18 years ago

Closed 16 years ago

Last modified 15 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: dev
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: no UI/UX: no

Description

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@…> 17 years ago.
a possible way to implement this, works fine here :)

Download all attachments as: .zip

Change History (8)

by Nikolaus Schlemm <nikl@…>, 17 years ago

Attachment: svn.diff added

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

comment:1 by Gary Wilson <gary.wilson@…>, 17 years ago

Has patch: set
Triage Stage: UnreviewedDesign decision needed

comment:2 by James Bennett, 17 years ago

Resolution: duplicate
Status: newclosed

Closing in favor of #5361.

comment:3 by Marty Alchin, 16 years ago

Keywords: fs-rf added

comment:4 by Marty Alchin, 16 years ago

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 by Alex Gaynor, 16 years ago

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

comment:6 by Alex Gaynor, 16 years ago

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 by (none), 15 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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