#29324: Change Settings to raise ImproperlyConfigured on SECRET_KEY; not
initialization
--------------------------------------+------------------------------------
     Reporter:  Jon Dufresne          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (Other)          |                  Version:  master
     Severity:  Release blocker       |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Marten Kenbeek):

 * status:  closed => new
 * resolution:  fixed =>
 * severity:  Normal => Release blocker


Comment:

 This causes a regression when using `settings.configure()`.
 `UserSettingsHolder` does not handle the missing `SECRET_KEY` attribute,
 and raises an `AttributeError` instead of `ImproperlyConfigured`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29324#comment:5>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bf73b46faefe9db29adeaf4d542ce73b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to