Opened 9 years ago

Closed 7 years ago

Last modified 6 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:

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

Download all attachments as: .zip

Change History (8)

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

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

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

  • Has patch set
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 8 years ago by ubernostrum

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

Closing in favor of #5361.

comment:3 Changed 8 years ago by Gulopine

  • Keywords fs-rf added

comment:4 Changed 7 years ago by Gulopine

  • milestone set to post-1.0
  • Resolution duplicate deleted
  • Status changed from closed to reopened
  • Version set to 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 7 years ago by Alex

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

comment:6 Changed 7 years ago by Alex

  • Resolution set to duplicate
  • Status changed from reopened to closed

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

comment:7 Changed 6 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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