* needs_better_patch: 1 => 0
* type: New feature => Cleanup/optimization
Comment:
I think that after app loading refactor, the situation has improved a lot.
However, here is a patch to add a complementary error message to this sort
of errors: https://github.com/django/django/pull/2838
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:23>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:24>
* stage: Ready for checkin => Accepted
Comment:
If we're creating a specific exception for the app registry not being
ready, it has no reason to inherit RuntimeError.
Furthermore, this patch changes the error message without updating the
docs — which are important as this is going to be one of the pain points
in 1.7.
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:25>
Comment (by aaugustin):
Upon further thought, I'm in favor of introducing an `AppRegistryNotReady`
exception and updating the documentation accordingly.
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:26>
Comment (by claudep):
Pull request updated.
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:27>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:28>
* status: new => closed
* owner: => Claude Paroz <claude@…>
* resolution: => fixed
Comment:
In [changeset:"9618d68b345fe69c787f8426b07e920e647e05f3"]:
{{{
#!CommitTicketReference repository=""
revision="9618d68b345fe69c787f8426b07e920e647e05f3"
Fixed #8033 -- Explained app registry error during translation setup
Thanks Tim Graham and Aymeric Augustin for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:29>
Comment (by Claude Paroz <claude@…>):
In [changeset:"f50a17785cdb67bc9d1b146d01c731cb6bfc48cf"]:
{{{
#!CommitTicketReference repository=""
revision="f50a17785cdb67bc9d1b146d01c731cb6bfc48cf"
[1.7.x] Fixed #8033 -- Explained app registry error during translation
setup
Thanks Tim Graham and Aymeric Augustin for the review.
Backport of 9618d68b34 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/8033#comment:30>