Django

Code

Ticket #1642 (closed: duplicate)

Opened 4 years ago

Last modified 1 year ago

a directory option for FilePathField, or a DirPathField

Reported by: frank.hoffsummer@gmx.de Assigned to: nobody
Milestone: Component: Database layer (models, ORM)
Version: SVN Keywords: fs-rf
Cc: Triage Stage: Design decision needed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

svn.diff (4.2 kB) - added by Nikolaus Schlemm <nikl@nikl.net> on 11/28/06 19:57:46.
a possible way to implement this, works fine here :)

Change History

11/28/06 19:57:46 changed by Nikolaus Schlemm <nikl@nikl.net>

  • attachment svn.diff added.

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

02/26/07 18:37:52 changed by Gary Wilson <gary.wilson@gmail.com>

  • has_patch set to 1.
  • stage changed from Unreviewed to Design decision needed.

09/16/07 07:23:06 changed by ubernostrum

  • status changed from new to closed.
  • resolution set to duplicate.

Closing in favor of #5361.

12/11/07 12:12:10 changed by Gulopine

  • keywords set to fs-rf.

07/29/08 14:03:12 changed by Gulopine

  • status changed from closed to reopened.
  • version set to SVN.
  • resolution deleted.
  • milestone set to post-1.0.

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.

07/29/08 14:15:37 changed by Alex

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

07/29/08 19:42:23 changed by Alex

  • status changed from reopened to closed.
  • resolution set to duplicate.

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

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted


Add/Change #1642 (a directory option for FilePathField, or a DirPathField)




Change Properties
Action