#20344: Allow django to discover management commands from namespace packages.
-------------------------------------+-------------------------------------
     Reporter:  eire1130             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:  duplicate
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by bhuztez):

 * cc: bhuztez@… (added)
 * easy:  1 => 0


Comment:

 Replying to [comment:2 eire1130]:
 > It does appear to be a dup, though I prefer my fix.
 >
 > For what it's worth, I agree with you on namespace packages, but some of
 us need to use namespace packages for reasons that are out of control.

 the docstring says

 > Determines the path to the management module for the given app_name,
 > without actually importing the application or the management module.

 obviously, your patch would import application module

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20344#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to