#24776: apps.get_app_config does not handle fully-qualified package names
-------------------------------+--------------------------------------
     Reporter:  inglesp        |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Uncategorized  |                  Version:  1.8
     Severity:  Normal         |               Resolution:
     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 aaugustin):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 These commands are documented to take app labels in argument rather than
 app names.

 Option 3 is a decent idea but it should be implemented by inspecting the
 app cache to figure out if there's an app with the provided name and find
 its label. This cannot be done simply by splitting on dots because it's
 possible to give any label to an app with a customized AppConfig class.

--
Ticket URL: <https://code.djangoproject.com/ticket/24776#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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ff12547f531c197790ba0452bc68593b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to