#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 | -----------------------------------+---------------------------------------- Comment (by oxy):
Your points are true. I just think the currently raised exception does not point to the real cause. At least in my case it took me some time to find I just forgot to append the comma. My suggestion was based on the behaviour in django core, but now an exception like "you entered a string, but a tuple is expected" seems more reasonable to me. -- Ticket URL: <http://code.djangoproject.com/ticket/15094#comment:5> 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.