Commit 9ce5bada authored by Michal Čihař's avatar Michal Čihař

List database backend in the list_versions output

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5934dc1f
......@@ -19,6 +19,7 @@
#
from django.core.management.base import BaseCommand
from django import db
from weblate import get_versions_string
......@@ -30,3 +31,9 @@ class Command(BaseCommand):
Prints versions of dependencies.
'''
self.stdout.write(get_versions_string())
self.stdout.write(
' * Database backends: ' +
', '.join(
[conn['ENGINE'] for conn in db.connections.databases.values()]
)
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment