#5485: Changing repetitive uploaded files from underscores to numbers
----------------------------+-----------------------------------------------
   Reporter:  emperorcezar  |                Owner:  nobody                
     Status:  reopened      |            Component:  Database wrapper      
    Version:  SVN           |           Resolution:                        
   Keywords:                |                Stage:  Design decision needed
  Has_patch:  1             |           Needs_docs:  0                     
Needs_tests:  1             |   Needs_better_patch:  0                     
----------------------------+-----------------------------------------------
Changes (by emperorcezar):

  * status:  closed => reopened
  * resolution:  wontfix =>

Comment:

 The issue is two-fold. First, some systems have a character limit on
 filenames (255 on BSD if I remember). Second, it's difficult to manually
 and visually distinguish between underscored files. Put 30 avatar_.jpg
 files like avatar____.jpg avatar_____.jpg. Then when one has to delete the
 correct one by hand for some reason, a mistake becomes extremely easy vs
 deleting avatar_15.jpg Also, at what point will the database max out on
 the file length? It is my opinion that the repeated underscore may be
 simple and fast, but they are by far not effective when an application has
 to scale.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5485#comment:3>
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