#15202: Changeset 15376 breaks implementation ------------------------------------------------------+--------------------- Reporter: liorsion | Owner: Status: closed | Milestone: Component: django.contrib.staticfiles | Version: SVN Resolution: invalid | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | ------------------------------------------------------+--------------------- Changes (by carljm):
* status: new => closed * needs_better_patch: => 0 * resolution: => invalid * needs_tests: => 0 * needs_docs: => 0 Comment: No, adding STATIC_ROOT to STATICFILES_DIRS is not sensible, and will break things. STATIC_ROOT is a _destination_ directory, not a _source_ directory for static files. Adding STATIC_ROOT to STATICFILES_DIRS is, in essence, asking "collectstatic" to do an infinite recursive copy. The fact that some people are doing this indicates even more clearly the need for the code check to alert them that they are misunderstanding how these settings work. The docs were not as clear on this point as they should have been, and in fact contained some outright misleading statements about STATIC_ROOT, so it's not surprising people have been confused about this. I reworked them yesterday and today to hopefully provide better clarity before the 1.3 release. -- Ticket URL: <http://code.djangoproject.com/ticket/15202#comment:1> 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.