#33207: django.apps.apps.get_model() does not allow namespaced (PEP 420) apps to
get a model
------------------------------+--------------------------------------
     Reporter:  Jonas L.      |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  Core (Other)  |                  Version:  3.2
     Severity:  Normal        |               Resolution:  invalid
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => invalid
 * component:  Uncategorized => Core (Other)


Comment:

 Thanks for the ticket, however Django doesn't support namespace packages,
 see [https://groups.google.com/g/django-
 developers/c/GVHMH2ciAnk/m/vbIPbZuSBQAJ a discussion on the mailing list].
 It's also
 
[https://docs.djangoproject.com/en/stable/topics/auth/customizing/#substituting-a
 -custom-user-model documented] that `AUTH_USER_MODEL` is ''"dotted pair
 describes the name of the Django app ... and the name of the Django model
 that you wish to use as your user model"''.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33207#comment:1>
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/064.44cd5a28e1a9416db785bd5369e930a6%40djangoproject.com.

Reply via email to