#17786: Exception when running the tests under Oracle -----------------------------------+-------------------------------------- Reporter: aaugustin | Owner: aaugustin Type: Bug | Status: closed Component: Testing framework | Version: 1.4-beta-1 Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------------+--------------------------------------
Comment (by akaariai): Now I know what bothers me about the self.settings_dict. From the code you get a feeling the settings_dict is instance level, or class level at most. However, you are really modifying the settings.py `DATABASES['alias']` dictionary. That makes it pretty easy to do accidental global changes if you start changing the self.settings_dict. Anyhow, the above isn't this ticket's problem. And I don't know if "fixing" the above is worth more than a comment anyways. I often hope the django.db.backends and especially the django.db.models.sql would have good README files explaining what is happening and why. I guess these would get accepted assuming somebody were to write the files... -- Ticket URL: <https://code.djangoproject.com/ticket/17786#comment:9> 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 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.