[Django] #26829: Simplify the first tutorial command

2 views
Skip to first unread message

Django

unread,
Jul 2, 2016, 4:39:33 AM7/2/16
to django-...@googlegroups.com
#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.

Django

unread,
Jul 2, 2016, 4:47:05 AM7/2/16
to django-...@googlegroups.com
#26829: Simplify the first tutorial command
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: sadaf2605
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by sadaf2605):

* owner: nobody => sadaf2605
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/26829#comment:1>

Django

unread,
Jul 2, 2016, 6:51:18 AM7/2/16
to django-...@googlegroups.com
#26829: Simplify the first tutorial command
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: sadaf2605
Type: | Status: assigned
Cleanup/optimization |
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by erikr):

* stage: Unreviewed => Accepted


Comment:

That looks much simpler indeed :)

--
Ticket URL: <https://code.djangoproject.com/ticket/26829#comment:2>

Django

unread,
Jul 2, 2016, 6:52:44 AM7/2/16
to django-...@googlegroups.com
#26829: Simplify the first tutorial command
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: sadaf2605
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.9
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Baptiste Mispelon <bmispelon@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"ed1c15d8fbc17e60621ca56f67340987531e647d" ed1c15d8]:
{{{
#!CommitTicketReference repository=""
revision="ed1c15d8fbc17e60621ca56f67340987531e647d"
Fixed #26829 -- Simplified version detection command in tutorial
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26829#comment:3>

Django

unread,
Jul 2, 2016, 8:34:35 PM7/2/16
to django-...@googlegroups.com
#26829: Simplify the first tutorial command
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: sadaf2605
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.9

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"bcce93b2c54a05c29bd49667db958dce6265d31a" bcce93b2]:
{{{
#!CommitTicketReference repository=""
revision="bcce93b2c54a05c29bd49667db958dce6265d31a"
[1.9.x] Fixed #26829 -- Simplified version detection command in tutorial

Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26829#comment:4>

Django

unread,
Jul 2, 2016, 8:34:35 PM7/2/16
to django-...@googlegroups.com
#26829: Simplify the first tutorial command
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: sadaf2605
Type: | Status: closed
Cleanup/optimization |
Component: Documentation | Version: 1.9

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"623ab0e6ae7db1991f8d7683e2a9451a1e378b9f" 623ab0e]:
{{{
#!CommitTicketReference repository=""
revision="623ab0e6ae7db1991f8d7683e2a9451a1e378b9f"
[1.10.x] Fixed #26829 -- Simplified version detection command in tutorial

Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26829#comment:5>

Reply all
Reply to author
Forward
0 new messages