[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
|
@ -233,9 +233,9 @@ class BaseCommand(object):
|
||||||
|
|
||||||
def get_version(self):
|
def get_version(self):
|
||||||
"""
|
"""
|
||||||
Return the Django version, which should be correct for all
|
Return the Django version, which should be correct for all built-in
|
||||||
built-in Django commands. User-supplied commands should
|
Django commands. User-supplied commands can override this method to
|
||||||
override this method.
|
return their own version.
|
||||||
"""
|
"""
|
||||||
return django.get_version()
|
return django.get_version()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue