Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
openbmc
/
60f9d69e016b11c468c98ea75ba0a60c44afbbc4
/
.
/
import-layers
/
yocto-poky
/
bitbake
/
lib
/
toaster
/
toastermain
/
management
/
commands
/
get-dburl.py
blob: 22b3eb79edaed23ed9d05599249c7269140aab94 [
file
] [
log
] [
blame
]
from
toastermain
.
settings
import
getDATABASE_URL
from
django
.
core
.
management
.
base
import
NoArgsCommand
class
Command
(
NoArgsCommand
):
args
=
""
help
=
"get database url"
def
handle_noargs
(
self
,**
options
):
print
getDATABASE_URL
()