Re: [Django] #21878: django-admin.py output Django version number

2014-01-26 Thread Django
#21878: django-admin.py output Django version number
+--
 Reporter:  wim@…   |Owner:  nobody
 Type:  New feature |   Status:  closed
Component:  Uncategorized   |  Version:  master
 Severity:  Normal  |   Resolution:  wontfix
 Keywords:  version number  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  1   |UI/UX:  0
+--
Changes (by russellm):

 * status:  new => closed
 * needs_better_patch:   => 0
 * resolution:   => wontfix
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I disagree.

 When you run `manage.py shell`, you get the version number for *Python*,
 not Django. This is a feature of the Python shell; verbose output makes
 some sense here because it's an interactive shell, and some verbosity is
 to be expected.

 However, returning the version number from a non-interacive command line
 tool would be inconsistent with usual Unix command styling -- that is,
 that tools should be quiet unless they have something to actually report.
 "I'm running" isn't something interesting to report.

 If you want to get the Django version number, you can run `django-admin.py
 --version` (or `manage.py --version`), which is also consistent with Unix
 tooling.

-- 
Ticket URL: 
Django 
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/074.2630366cb38584484c552f1122163588%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21878: django-admin.py output Django version number

2014-01-26 Thread Django
#21878: django-admin.py output Django version number
---+
 Reporter:  wim@…  |  Owner:  nobody
 Type:  New feature| Status:  new
Component:  Uncategorized  |Version:  master
 Severity:  Normal |   Keywords:  version number
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  1  |  UI/UX:  0
---+
 When I do:

 {{{
 python manage.py shell
 }}}

 the output is very helpful and tells me the current date and time and the
 Django version number.

 When I do:
 {{{
 django-admin.py startproject my_project
 }}}
 however, I get no output at all.

 For me, it would be very helpful to know the Django versioning number,
 because the output of startproject differs per version and because
 sometimes I have an older Django installed.

 Continuing, outputting the Django version number when using {{{ python
 manage.py shell }}} would be helpful as well.

-- 
Ticket URL: 
Django 
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/059.3ce5d5d17b5fd0f21c5464f795cbe87c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.