#23070: Instances of callable classes with __slots__ attributes in settings causes a failure to draw the 500 template -------------------------------+-------------------------------------- Reporter: colons | Owner: nobody Type: Bug | Status: new Component: Uncategorized | Version: 1.7-rc-1 Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+--------------------------------------
Comment (by anonymous): https://github.com/django/django/commit/3c5cdaf47aae7e4f21398be1a5eaa07f7c5ce31c Would it be unreasonable to have cleanse_setting return a repr() or a str() (or unicode()) of the settings rather than the things themselves? That way it has direct control over whether or not they are called and doesn't have to rely on attempting to set attributes on objects that could be a type for all it knows. -- Ticket URL: <https://code.djangoproject.com/ticket/23070#comment:2> 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/064.4a21da1a9aadc81b6f4553f035e0f215%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.