#26829: Simplify the first tutorial command ------------------------------------------------+------------------------ Reporter: bmispelon | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 1.9 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | ------------------------------------------------+------------------------ The first step of the tutorial [1] is to check that Django is installed. The command it gives for this is:
{{{#!bash $ python -c "import django; print(django.get_version())" }}} Now that #24857 has been merged, the command could be simplified to: {{{#!bash $ python -m django --version }}} I think this looks more straightforward and less like a magic bash incantation. [1] https://docs.djangoproject.com/en/dev/intro/tutorial01/ -- Ticket URL: <https://code.djangoproject.com/ticket/26829> 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/052.41877e73a755230dc83d723f00d43ec5%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.