From 550bf9811f4a2ae69e10765420923edc289bba51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 8 Sep 2022 15:26:43 +0200 Subject: [PATCH 1/4] =?UTF-8?q?Chyby=20p=C5=99i=20instalaci=20zkop=C3=ADro?= =?UTF-8?q?v=C3=A1ny=20do=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4c69c825..369dd30e 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,9 @@ Run the following commands: . env/bin/activate make install_web +Pokud install_web říká Error: pg_config executable not found. nainstaluj si libpq-dev +Pokud chybová hláška obsahuje #include , nainstaluj si python3-dev + After finishing development, run "deactivate". Make commands From 20a11358eb68c06adaf9234a64154e7b6396929b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 8 Sep 2022 15:57:03 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Generov=C3=A1n=C3=AD=20testdat=20(pozn?= =?UTF-8?q?=C3=A1mka=20p=C5=99i=20install=5Fweb)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1364572f..94a377c4 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ install_web: venv_check pip install --upgrade setuptools # Instalace závislostí webu pip install -r requirements.txt --upgrade + # Pro vygenerování tesdat spusť ./manage.py testdata # Po vygenerování testdat spusť ./manage.py loaddata data/*, ať máš menu a další modely # Pro synchronizaci flatpages spusť make sync_prod_flatpages From c5a145070ba8b2f407797c978a78dcd05fec1780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 8 Sep 2022 18:11:27 +0200 Subject: [PATCH 3/4] =?UTF-8?q?dokumentace=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- korektury/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korektury/admin.py b/korektury/admin.py index 2e91ae75..f2b0a319 100644 --- a/korektury/admin.py +++ b/korektury/admin.py @@ -28,7 +28,7 @@ class KorekturovanePDFAdmin(VersionAdmin): readonly_fields = ['cas', 'stran'] def get_readonly_fields(self, request, obj=None): - """ Nevím, proč to tu je - Jidáš """ + """ Když pdf existuje, tak nedovolím měnit ani pdf.""" if obj: return self.readonly_fields + ['pdf'] return self.readonly_fields From f28382eed96726d1c8430c7aa443f7b9f62be2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 8 Sep 2022 18:31:23 +0200 Subject: [PATCH 4/4] =?UTF-8?q?Probl=C3=A9my=20v=20orgorozcestn=C3=ADku=20?= =?UTF-8?q?jsou=20nov=C4=9B=20klikac=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- personalni/templates/personalni/profil/orgorozcestnik.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/personalni/templates/personalni/profil/orgorozcestnik.html b/personalni/templates/personalni/profil/orgorozcestnik.html index 09b65d32..fe21a8e1 100644 --- a/personalni/templates/personalni/profil/orgorozcestnik.html +++ b/personalni/templates/personalni/profil/orgorozcestnik.html @@ -48,21 +48,21 @@

Témata

    {% for t in temata %} -
  • {{ t }}
  • +
  • {{ t }}
  • {% endfor %}

Úlohy

    {% for u in ulohy %} -
  • {{ u }}
  • +
  • {{ u }}
  • {% endfor %}

Články

    {% for c in clanky %} -
  • {{ c }}
  • +
  • {{ c }}
  • {% endfor %}