[Django] #36902: Names confusions

3 views
Skip to first unread message

Django

unread,
Feb 4, 2026, 7:31:51 PM (2 days ago) Feb 4
to django-...@googlegroups.com
#36902: Names confusions
-------------------------------------+-------------------------------------
Reporter: jabir-git | Type:
| Cleanup/optimization
Status: new | Component: Utilities
Version: 6.0 | Severity: Normal
Keywords: class, module | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Class has same name as module can possibly create conflicts
--
Ticket URL: <https://code.djangoproject.com/ticket/36902>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 4, 2026, 7:32:00 PM (2 days ago) Feb 4
to django-...@googlegroups.com
#36902: Names confusions
-------------------------------------+-------------------------------------
Reporter: Jabir | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Utilities | Version: 6.0
Severity: Normal | Resolution:
Keywords: class, module | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jabir):

* Attachment "Screenshot 2026-02-04 at 7.20.22 PM.png" added.

Django

unread,
Feb 4, 2026, 10:42:47 PM (2 days ago) Feb 4
to django-...@googlegroups.com
#36902: Names confusions
-------------------------------------+-------------------------------------
Reporter: Jabir | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Utilities | Version: 6.0
Severity: Normal | Resolution:
Keywords: class, module | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by ar3ph):

Maybe don't call your app just `app`? I don't know any solutions here.
--
Ticket URL: <https://code.djangoproject.com/ticket/36902#comment:1>

Django

unread,
Feb 5, 2026, 8:17:07 AM (16 hours ago) Feb 5
to django-...@googlegroups.com
#36902: Names confusions
-------------------------------------+-------------------------------------
Reporter: Jabir | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: Utilities | Version: 6.0
Severity: Normal | Resolution: invalid
Keywords: class, module | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* resolution: => invalid
* status: new => closed

Comment:

This is something you can solve by namespacing the import:

`from django.apps import AppConfig as DjangoAppConfig`

`class AppConfig(DjangoAppConfig): ...`

Closing ticket per
https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels
--
Ticket URL: <https://code.djangoproject.com/ticket/36902#comment:2>
Reply all
Reply to author
Forward
0 new messages