On Mon, 2009-01-26 at 20:52 -0800, chatchai wrote:
[...]
> I know that Django will append the underscore after the file name
> until the file can be saved but what i mean is,
> do not allow the file with the same name to be able to upload.

That's kind of an odd requirement. The filename says nothing about the
resource -- if two names are the same, it doesn't mean the contents are.
Also, the name you store it under on the filesystem isn't (necessarily)
the name that the user sees it as.

Regards,
Malcolm


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to