I'd like to request that FilePathField should have an extra option that
causes it to only save a relative path (to the path parameter), say
called "relative". 

Having an absolute path stored makes it harder to move data between
machines that are set up differently (say development and production).
In this circumstance I would typically set the path parameter from the
settings file.

The "relative" argument could default to False to keep the current
behaviour by default. Actually i can't think when you would want
absolute paths but maybe someone does.

Shall I create a ticket (and possibly a patch) for this? or am I missing
something?

cheers,
Graham


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to