Opened 3 weeks ago
Closed 3 weeks ago
#37121 closed Bug (needsinfo)
pylance unable to find `django.contrib.auth.forms.AdminUserCreationForm`
| Reported by: | Bipin Thapa | Owned by: | |
|---|---|---|---|
| Component: | contrib.auth | Version: | 6.0 |
| Severity: | Normal | Keywords: | import |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
all other objects in django.contrib.auth.forms.py are properly detected by pylance, but not AdminUserCreationform.
when i try to import the classes in this file, the editor gives me options of all files except AdminUserCreationForm .
typing admin suggests adminpasswordchangeform but not 'adminusercreationfor
I'm sorry if my ticket is not following conventions or is not that descriptive. I'm new to opensource, it seems particularly hard to issue bugs in django.
I also don't know if it's a easy picking.
We would need an explanation of why Django is at fault. I don't see any difference between
AdminUserCreationFormand the other classes. In case you're using an older version,AdminUserCreationFormis new in Django 5.1.1.