#5276: change filenames of uploaded files
--------------------------------------------------+-------------------------
Reporter:  George Karpenkov <[EMAIL PROTECTED]>  |       Owner:  adrian        
  Status:  new                                    |   Component:  Core framework
 Version:  SVN                                    |    Keywords:                
   Stage:  Unreviewed                             |   Has_patch:  0             
--------------------------------------------------+-------------------------
 Right now when two files with identical name are uploaded, one of them
 will get '_' prefix.
 I consider this solution quite ugly and impractical, because there are
 some situations when many files with same name will be uploaded. And when
 filename reaches critical length, problems will come up.
 Consider online gallery, for example - how many users might wish to upload
 the picture called 'cat.jpg'?
 I think the people from imageshack.us have created a good solution for
 that problem - hash from some value (number of files?) is added to the
 filename, and they get filenames like 'catfg3.jpg'
 I believe that same thing should be implemented in Django.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5276>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to