mirror of
https://github.com/django/django.git
synced 2025-03-26 17:20:49 +00:00
Made BaseCommand.get_version() docstring consistent with docs.
This commit is contained in:
parent
ce737ac678
commit
9bc0c21b1c
@ -212,9 +212,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…
x
Reference in New Issue
Block a user