#5361: Support pluggable backends for FileField
------------------------------------------------------------+---------------
Reporter: Marty Alchin <[EMAIL PROTECTED]> | Owner:
Gulopine
Status: new | Milestone:
1.0 beta
Component: Database wrapper | Version:
SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------+---------------
Changes (by [EMAIL PROTECTED]):
* cc: [EMAIL PROTECTED] (added)
Comment:
Thanks for your comments, I think this is going to be a great ticket.
I agree with you on all points except when I'm "Using a storage system on
its own." In this case I do not just want my inherited remote filesystem
to have general filesystem functionality, I want all my filesystems to
have those functions--mostly because I want to have the choice of
filesystem to be determined by a settings file (for different servers, or
testing vs production deployments). Now in the case where this ticket is
a "file storage" ticket, we might not need things like "list_dir", but as
a "file system" I would think we absolutely do--otherwise the abstraction
layer falls short in cases outside of the file fields.
I could subclass the filesystem and create a more general filesystem
before subclassing further into remote and local varieties, but that seems
to be a little counter-productive. Just my 2 cents--this is great work
and I'll be happy for it.
--
Ticket URL: <http://code.djangoproject.com/ticket/5361#comment:68>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---