#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
------------------------------+--------------------------------------
Comment (by Carlton Gibson):
PEP 420 is about being able to ''compose'' a package from code situated at
different locations on the filesystem. These are known as ''namespace
packages''.
There's a [https://www.python.org/dev/peps/pep-0420/#nested-namespace-
packages Nested namespace packages example] but it's not really about
''namespaces',' as in nesting that you get from folders, that we're
familiar with from ''Namespaces are one honking great idea -- let's do
more of those!''
--
Ticket URL: <https://code.djangoproject.com/ticket/33207#comment:3>
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.408b7596699a933f5b1a7c1a53f5a136%40djangoproject.com.