#22254: Testing documentation doesn't make it clear that django.setup() needs
to be
called with setup_test_environment
-------------------------------------+-------------------------------------
Reporter: peter.landry@… | Owner: aaugustin
Type: | Status: assigned
Cleanup/optimization | Version:
Component: Documentation | 1.7-alpha-2
Severity: Release blocker | Resolution:
Keywords: app-loading | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by aaugustin):
https://github.com/django/django/pull/2609 documents django.setup(). Can I
haz review?
I'm not convinced it's worth duplicating that information wherever
setup_test_environment() is useful. If you hit `RuntimeError: App registry
isn't ready yet.` Google will tell you how to fix it in 10 seconds. I'll
let someone else deal with that part if you want to.
--
Ticket URL: <https://code.djangoproject.com/ticket/22254#comment:6>
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/080.eadc7b4aca5414ac020bb13cd62586e9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.