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-without-patching/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---