Thanks Nathaniel, that seems like it will work.

On Feb 7, 8:57 am, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
> On Feb 7, 2:01 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I know I can't do what I am trying to do in the Media class, but how
> > can I do this? How can I name that folder from the media_type
> > fieldname?
>
> You have to override the _save_FIELD_file method in your model. Marty
> Alchin has a good write-up [1] of how to do it.
>
> .. [1]http://gulopine.gamemusic.org/2007/nov/07/customizing-filenames-witho...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to