#29689: Improve performance of FileSystemStorage.listdir() and FilePathField 
with
os.scandir()
-------------------------------------+-------------------------------------
     Reporter:  Federico Bond        |                    Owner:  Federico
         Type:                       |  Bond
  Cleanup/optimization               |                   Status:  closed
    Component:  File                 |                  Version:  2.1
  uploads/storage                    |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"54b331451cb22ee354beadf31ee42cbd714877f0" 54b33145]:
 {{{
 #!CommitTicketReference repository=""
 revision="54b331451cb22ee354beadf31ee42cbd714877f0"
 Refs #29689 -- Moved FilePathField choices sorting outside the loop.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29689#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.52054f6bc67fcc723fd0fde1c76177ae%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to