#24857: Add __main__ entry point as an alias for django-admin
-------------------------------------+-------------------------------------
     Reporter:  tricoder42           |                    Owner:
                                     |  tricoder42
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by timgraham):

 Did you investigate my suggestion of using the subprocess module
 (following the example in `tests/model_regress/test_pickle.py`). I don't
 think we need to test `python -m django`, but rather just execute the the
 `__main__.py` script directly and ensure it works like django-admin (one
 test should be enough -- I don't think we don't need to execute all the
 admin_script tests through it).

--
Ticket URL: <https://code.djangoproject.com/ticket/24857#comment:6>
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.1f96aaff8d5380e2a38e948ee38d8a7e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to