Re: How to rename uploaded files in FileField?

2008-11-03 Thread bovine

thank u very much!, I think that can solve my problem.

On 11月4日, 上午12时38分, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 3, 2008 at 11:04 AM, Chen Yinliu <[EMAIL PROTECTED]> wrote:
> > I've searched this group and find some related mails, but their solutions
> > seem out of date, for example:
> >http://gulopine.gamemusic.org/2007/nov/07/customizing-filenames-witho...
> > but there is no _save_FIELD_file method there, the underline file storage
> > system had been refactored in 1.0 release.
>
> > so anyone who know how to do it? thanks very much.
>
> You might consider the new documentation on the subject,[1] which
> should (I hope) be quite clear.
>
> -Gul
>
> [1]http://docs.djangoproject.com/en/dev/ref/models/fields/#filefield
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: How to rename uploaded files in FileField?

2008-11-03 Thread Marty Alchin

On Mon, Nov 3, 2008 at 11:04 AM, Chen Yinliu <[EMAIL PROTECTED]> wrote:
> I've searched this group and find some related mails, but their solutions
> seem out of date, for example:
> http://gulopine.gamemusic.org/2007/nov/07/customizing-filenames-without-patching/
> but there is no _save_FIELD_file method there, the underline file storage
> system had been refactored in 1.0 release.
>
> so anyone who know how to do it? thanks very much.

You might consider the new documentation on the subject,[1] which
should (I hope) be quite clear.

-Gul

[1] http://docs.djangoproject.com/en/dev/ref/models/fields/#filefield

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



How to rename uploaded files in FileField?

2008-11-03 Thread Chen Yinliu
I've searched this group and find some related mails, but their solutions
seem out of date, for example:
http://gulopine.gamemusic.org/2007/nov/07/customizing-filenames-without-patching/
but there is no _save_FIELD_file method there, the underline file storage
system had been refactored in 1.0 release.

so anyone who know how to do it? thanks very much.



-- 
Chen Yingliu

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---