#18983: django.contrib.staticfiles.finders.find can return [None] if a file is 
not
found with a custom finder
-------------------------------------+-------------------------------------
     Reporter:  paulswartz           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.staticfiles  |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
    Has patch:  1                    |  Unreviewed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by ptone):

 While the patch looks technically sound, I have to point out:

 
https://github.com/django/django/blob/master/docs/ref/contrib/staticfiles.txt#L124
 "Static file finders are currently considered a private interface, and
 this interface is thus undocumented."

 While I can't think of any reason why [] and None would be meaningfully
 different ATM, I'm a bit hesitant to accept this without some input from
 Jannis on the matter.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18983#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to