#15094: Convert STATICFILES_DIRS into a tuple if set as string
-----------------------------------+----------------------------------------
          Reporter:  oxy           |         Owner:  nobody
            Status:  closed        |     Milestone:        
         Component:  Contrib apps  |       Version:  SVN   
        Resolution:  wontfix       |      Keywords:        
             Stage:  Unreviewed    |     Has_patch:  1     
        Needs_docs:  0             |   Needs_tests:  0     
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Changes (by oxy):

  * has_patch:  0 => 1

Comment:

 Sure, you can't determine if STATICFILES_DIRS is set properly if you know
 it's of type tuple. But you can determine that it's definitely wrong if
 it's a string (STATICFILES_DIRS has to be a tuple).

 Therefore if it's mistakenly entered as string converting it into a tuple
 should be safe.

 As this is a simple fix I created a patch, I hope it's good?!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15094#comment:2>
Django <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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to