#24857: Add __main__ entry point as an alias for django-admin -------------------------------------+------------------------------------- Reporter: tricoder42 | Owner: Type: New feature | Status: new 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 -------------------------------------+------------------------------------- Changes (by tricoder42):
* owner: tricoder42 => * status: assigned => new Comment: I agree that simple test will be sufficient: {{{ import subprocess def test_module_installed(): call_args = ['python', '-m', 'django', '-v'] assert subprocess.call(call_args) == 0 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/24857#comment:7> 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.c071a7a55af0c9807a67934137291b3f%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.