#36103: Simplify get_namespace() and adjust get_and_report_namespace() method
signature for automatic imports in Shell command
-------------------------------------+-------------------------------------
     Reporter:  Salvo Polizzi        |                    Owner:  Salvo
         Type:                       |  Polizzi
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Management     |                  Version:  5.2
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Salvo Polizzi):

 Replying to [comment:2 Natalia Bidart]:
 > Thank you Salvo for this ticket, I overall agree except for the
 `no_imports`, I have no problem to remove it from
 `get_and_report_namespace` but we should do it in a way that does not
 duplicate logic/checks. Thank you!

 Maybe we can wait until someone has other better ideas for the
 `no_imports` and in the meantime stick with this implementation, e.g.
 leave it as a parameter.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36103#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 view this discussion visit 
https://groups.google.com/d/msgid/django-updates/010701947062925a-d8f1e981-66da-49af-aaac-0139ee4dba7c-000000%40eu-central-1.amazonses.com.

Reply via email to