#22057: Importing `reverse_lazy` in settings.py leads to ImportError
---------------------------------+------------------------------------
Reporter: dfunckt | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: master
Severity: Release blocker | Resolution:
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 claudep):
I think the problem is caused by two lines here:
https://github.com/django/django/blob/master/django/db/models/sql/aggregates.py#L14-15
It shouldn't be too difficult to defer these instanciations. I'll attach a
patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/22057#comment:8>
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/065.46b5ad6ceaa0bcbd382376e7202162ab%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.