From 32abd58af49e3893c0098f1ea89b57b2afa7b70a Mon Sep 17 00:00:00 2001 From: dcz <dcz@ipipan.waw.pl> Date: Fri, 15 Sep 2023 16:39:56 +0200 Subject: [PATCH] Enforce min width of the main page. --- common/templates/base.html | 2 +- meanings/management/commands/import_plWordnet.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/templates/base.html b/common/templates/base.html index 1c1c9a4..451fff4 100644 --- a/common/templates/base.html +++ b/common/templates/base.html @@ -38,7 +38,7 @@ {% vite_asset 'src/main.js' %} </head> -<body style="min-width: 1400px"> +<body style="min-width: 1500px"> {% block modals %}{% endblock %} <div class="container-fluid h-100 d-flex flex-column p-0"> diff --git a/meanings/management/commands/import_plWordnet.py b/meanings/management/commands/import_plWordnet.py index 9449a47..68a84cf 100644 --- a/meanings/management/commands/import_plWordnet.py +++ b/meanings/management/commands/import_plWordnet.py @@ -92,7 +92,8 @@ class Command(BaseCommand): def handle(self, **options): import_plWordnet() - + + def import_plWordnet(): wordnet_dir = os.path.join(BASE_DIR, 'data', 'plwordnet') zipped_xml_file = os.path.join(wordnet_dir, 'plwordnet_2_1.xml.zip') -- GitLab