#30736: Custom filename generation algorithm partially when uploading duplicate
filename.
---------------------------------------------+--------------------------
               Reporter:  Takayuki Hirayama  |          Owner:  nobody
                   Type:  Uncategorized      |         Status:  assigned
              Component:  Core (Other)       |        Version:  master
               Severity:  Normal             |       Keywords:
           Triage Stage:  Unreviewed         |      Has patch:  0
    Needs documentation:  0                  |    Needs tests:  0
Patch needs improvement:  0                  |  Easy pickings:  0
                  UI/UX:  0                  |
---------------------------------------------+--------------------------
 Django django/core/files/storage.py get_available_name() method contains
 functions such as filename duplication checking, generating alternative
 filename, and filename truncation.

 When customize alternative filename generation algorithm, sub classes must
 override all these functions in the get_available_name() method.
 It is inconvenient if sub classes just customize only alternative filename
 generation algorithm.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30736>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.5b1234b6243f302b7a55550825452a9b%40djangoproject.com.

Reply via email to