#34807: importing `django.forms` causes circular import error
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: Natalia
| Bidart
Type: Bug | Status: assigned
Component: Forms | Version: dev
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 Natalia Bidart):
One thing that I don't understand is that when using a Django shell, the
import works just fine. Tests also perform multiple `from django import
forms` and they do not fail. OTOH, I can reproduce with the provided:
{{{
python3 -c"from django import forms"
}}}
Does anyone understand why the difference? (my main question is why this
wasn't picked up by the tests or my IRL testing within a Django test
project)
--
Ticket URL: <https://code.djangoproject.com/ticket/34807#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018a4d2f9f51-8f1d31bf-0797-4301-98ba-dcb0423c350b-000000%40eu-central-1.amazonses.com.