mirror of
https://github.com/django/django.git
synced 2025-08-19 18:20:31 +00:00
[1.9.x] Made BaseCommand.get_version() docstring consistent with docs.
Backport of 9bc0c21b1c
from master
This commit is contained in:
parent
8a03102f42
commit
556f026589
1 changed files with 3 additions and 3 deletions
|
@ -233,9 +233,9 @@ class BaseCommand(object):
|
|||
|
||||
def get_version(self):
|
||||
"""
|
||||
Return the Django version, which should be correct for all
|
||||
built-in Django commands. User-supplied commands should
|
||||
override this method.
|
||||
Return the Django version, which should be correct for all built-in
|
||||
Django commands. User-supplied commands can override this method to
|
||||
return their own version.
|
||||
"""
|
||||
return django.get_version()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue