kopia lustrzana https://github.com/wagtail/wagtail
Type fix & proper command name
rodzic
e267ca9172
commit
7c597051ab
|
@ -243,7 +243,7 @@ class UpdateModulePaths(Command):
|
||||||
|
|
||||||
|
|
||||||
class Version(Command):
|
class Version(Command):
|
||||||
description = "List which version of watch you are using"
|
description = "List which version of Wagtail you are using"
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
import wagtail
|
import wagtail
|
||||||
|
@ -255,7 +255,7 @@ class Version(Command):
|
||||||
COMMANDS = {
|
COMMANDS = {
|
||||||
'start': CreateProject(),
|
'start': CreateProject(),
|
||||||
'updatemodulepaths': UpdateModulePaths(),
|
'updatemodulepaths': UpdateModulePaths(),
|
||||||
'--version': Version()
|
'version': Version()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue