#24197: contrib.staticfiles does not resepect override_settings
-----------------------------------+--------------------
     Reporter:  mlavin             |      Owner:  nobody
         Type:  Uncategorized      |     Status:  new
    Component:  Testing framework  |    Version:  1.7
     Severity:  Normal             |   Keywords:
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+--------------------
 Various parts of the staticfiles storages and finders do not respect
 changes to the related settings when using the {{{override_settings}}} or
 {{{settings}}} context manager in the test suite. This is handled in
 Django's own test suite by clearing the {{{lru_cache}}} and
 {{{staticfiles_storage}}} in the {{{BaseStaticFilesTestCase.setUp}}}.
 Ideally this would be handled by registering signal handlers for
 {{{setting_changed}}} as is done for {{{DEFAULT_FILE_STORAGE}}},
 {{{MEDIA_ROOT}}}, etc for the uploaded media settings.

--
Ticket URL: <https://code.djangoproject.com/ticket/24197>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.aa848d6cb1cc7293394cc0ced0c77b98%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to