From f584e1b2e39d6025f3e33f5bdd8e3af50b6f63c6 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Wed, 17 Mar 2021 13:55:23 +0100 Subject: [PATCH 01/11] =?UTF-8?q?TeXoviny=20do=20=C4=8D=C3=ADsla=20stahova?= =?UTF-8?q?t,=20nezobrazovat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/archiv/cislo.html | 4 ++-- seminar/templates/seminar/archiv/rocnik.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/seminar/templates/seminar/archiv/cislo.html b/seminar/templates/seminar/archiv/cislo.html index 63273ea4..6326b696 100644 --- a/seminar/templates/seminar/archiv/cislo.html +++ b/seminar/templates/seminar/archiv/cislo.html @@ -38,8 +38,8 @@

Orgovské odkazy

diff --git a/seminar/templates/seminar/archiv/rocnik.html b/seminar/templates/seminar/archiv/rocnik.html index 7a381253..2af9edfa 100644 --- a/seminar/templates/seminar/archiv/rocnik.html +++ b/seminar/templates/seminar/archiv/rocnik.html @@ -67,7 +67,7 @@ {% if vysledkovka %} {% if user.je_org %}
- Výsledkovka ročníku (LaTeX) + Výsledkovka ročníku (LaTeX)
{% endif %} From dbeee70f54b8226f90ca63b8d09d9471b42e6a65 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 23 Mar 2021 19:17:52 +0100 Subject: [PATCH 02/11] =?UTF-8?q?Odstran=C4=9Bny=20Auth=20modely=20z=20dat?= =?UTF-8?q?a/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/auth_groups.json | 249 ---- data/auth_permissions.json | 2441 ------------------------------------ 2 files changed, 2690 deletions(-) delete mode 100644 data/auth_groups.json delete mode 100644 data/auth_permissions.json diff --git a/data/auth_groups.json b/data/auth_groups.json deleted file mode 100644 index b5f32a5c..00000000 --- a/data/auth_groups.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "fields": { - "name": "org", - "permissions": [ - 23, - 24, - 25, - 1, - 26, - 72, - 73, - 74, - 75, - 76, - 77, - 78, - 79, - 51, - 55, - 52, - 53, - 54, - 56, - 57, - 58, - 59, - 60, - 61, - 62, - 63, - 43, - 44, - 45, - 46, - 228, - 229, - 230, - 231, - 232, - 233, - 234, - 235, - 260, - 261, - 262, - 263, - 264, - 265, - 266, - 267, - 244, - 245, - 246, - 247, - 236, - 237, - 238, - 239, - 240, - 241, - 242, - 243, - 248, - 249, - 250, - 251, - 252, - 253, - 254, - 255, - 256, - 257, - 258, - 259, - 212, - 213, - 214, - 215, - 80, - 81, - 82, - 83, - 180, - 181, - 182, - 183, - 172, - 173, - 174, - 175, - 168, - 169, - 170, - 171, - 132, - 133, - 134, - 135, - 224, - 225, - 226, - 227, - 184, - 185, - 186, - 187, - 112, - 113, - 114, - 115, - 120, - 121, - 122, - 123, - 164, - 165, - 166, - 167, - 124, - 125, - 126, - 127, - 216, - 217, - 218, - 219, - 136, - 137, - 138, - 139, - 152, - 153, - 154, - 155, - 208, - 209, - 210, - 211, - 140, - 141, - 142, - 143, - 108, - 109, - 110, - 111, - 84, - 85, - 86, - 87, - 104, - 105, - 106, - 107, - 160, - 161, - 162, - 163, - 220, - 221, - 222, - 223, - 88, - 89, - 90, - 91, - 92, - 93, - 94, - 95, - 188, - 189, - 190, - 191, - 96, - 97, - 98, - 99, - 100, - 101, - 102, - 103, - 128, - 129, - 130, - 131, - 116, - 117, - 118, - 119, - 156, - 157, - 158, - 159, - 192, - 193, - 194, - 195, - 144, - 145, - 146, - 147, - 196, - 197, - 198, - 199, - 176, - 177, - 178, - 179, - 148, - 149, - 150, - 151, - 200, - 201, - 202, - 203, - 204, - 205, - 206, - 207, - 64, - 65, - 66, - 67, - 68, - 69, - 70, - 71, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 47, - 48, - 49, - 50 - ] - }, - "model": "auth.group", - "pk": 1 - } -] \ No newline at end of file diff --git a/data/auth_permissions.json b/data/auth_permissions.json deleted file mode 100644 index c58d5a90..00000000 --- a/data/auth_permissions.json +++ /dev/null @@ -1,2441 +0,0 @@ -[ - { - "fields": { - "codename": "org", - "content_type": 17, - "name": "org" - }, - "model": "auth.permission", - "pk": 1 - }, - { - "fields": { - "codename": "resitel", - "content_type": 17, - "name": "resitel" - }, - "model": "auth.permission", - "pk": 2 - }, - { - "fields": { - "codename": "add_contenttype", - "content_type": 18, - "name": "Can add content type" - }, - "model": "auth.permission", - "pk": 3 - }, - { - "fields": { - "codename": "change_contenttype", - "content_type": 18, - "name": "Can change content type" - }, - "model": "auth.permission", - "pk": 4 - }, - { - "fields": { - "codename": "delete_contenttype", - "content_type": 18, - "name": "Can delete content type" - }, - "model": "auth.permission", - "pk": 5 - }, - { - "fields": { - "codename": "view_contenttype", - "content_type": 18, - "name": "Can view content type" - }, - "model": "auth.permission", - "pk": 6 - }, - { - "fields": { - "codename": "add_session", - "content_type": 19, - "name": "Can add session" - }, - "model": "auth.permission", - "pk": 7 - }, - { - "fields": { - "codename": "change_session", - "content_type": 19, - "name": "Can change session" - }, - "model": "auth.permission", - "pk": 8 - }, - { - "fields": { - "codename": "delete_session", - "content_type": 19, - "name": "Can delete session" - }, - "model": "auth.permission", - "pk": 9 - }, - { - "fields": { - "codename": "view_session", - "content_type": 19, - "name": "Can view session" - }, - "model": "auth.permission", - "pk": 10 - }, - { - "fields": { - "codename": "add_site", - "content_type": 20, - "name": "Can add site" - }, - "model": "auth.permission", - "pk": 11 - }, - { - "fields": { - "codename": "change_site", - "content_type": 20, - "name": "Can change site" - }, - "model": "auth.permission", - "pk": 12 - }, - { - "fields": { - "codename": "delete_site", - "content_type": 20, - "name": "Can delete site" - }, - "model": "auth.permission", - "pk": 13 - }, - { - "fields": { - "codename": "view_site", - "content_type": 20, - "name": "Can view site" - }, - "model": "auth.permission", - "pk": 14 - }, - { - "fields": { - "codename": "add_permission", - "content_type": 21, - "name": "Can add permission" - }, - "model": "auth.permission", - "pk": 15 - }, - { - "fields": { - "codename": "change_permission", - "content_type": 21, - "name": "Can change permission" - }, - "model": "auth.permission", - "pk": 16 - }, - { - "fields": { - "codename": "delete_permission", - "content_type": 21, - "name": "Can delete permission" - }, - "model": "auth.permission", - "pk": 17 - }, - { - "fields": { - "codename": "view_permission", - "content_type": 21, - "name": "Can view permission" - }, - "model": "auth.permission", - "pk": 18 - }, - { - "fields": { - "codename": "add_group", - "content_type": 22, - "name": "Can add group" - }, - "model": "auth.permission", - "pk": 19 - }, - { - "fields": { - "codename": "change_group", - "content_type": 22, - "name": "Can change group" - }, - "model": "auth.permission", - "pk": 20 - }, - { - "fields": { - "codename": "delete_group", - "content_type": 22, - "name": "Can delete group" - }, - "model": "auth.permission", - "pk": 21 - }, - { - "fields": { - "codename": "view_group", - "content_type": 22, - "name": "Can view group" - }, - "model": "auth.permission", - "pk": 22 - }, - { - "fields": { - "codename": "add_user", - "content_type": 17, - "name": "Can add user" - }, - "model": "auth.permission", - "pk": 23 - }, - { - "fields": { - "codename": "change_user", - "content_type": 17, - "name": "Can change user" - }, - "model": "auth.permission", - "pk": 24 - }, - { - "fields": { - "codename": "delete_user", - "content_type": 17, - "name": "Can delete user" - }, - "model": "auth.permission", - "pk": 25 - }, - { - "fields": { - "codename": "view_user", - "content_type": 17, - "name": "Can view user" - }, - "model": "auth.permission", - "pk": 26 - }, - { - "fields": { - "codename": "add_revision", - "content_type": 23, - "name": "Can add revision" - }, - "model": "auth.permission", - "pk": 27 - }, - { - "fields": { - "codename": "change_revision", - "content_type": 23, - "name": "Can change revision" - }, - "model": "auth.permission", - "pk": 28 - }, - { - "fields": { - "codename": "delete_revision", - "content_type": 23, - "name": "Can delete revision" - }, - "model": "auth.permission", - "pk": 29 - }, - { - "fields": { - "codename": "view_revision", - "content_type": 23, - "name": "Can view revision" - }, - "model": "auth.permission", - "pk": 30 - }, - { - "fields": { - "codename": "add_version", - "content_type": 24, - "name": "Can add version" - }, - "model": "auth.permission", - "pk": 31 - }, - { - "fields": { - "codename": "change_version", - "content_type": 24, - "name": "Can change version" - }, - "model": "auth.permission", - "pk": 32 - }, - { - "fields": { - "codename": "delete_version", - "content_type": 24, - "name": "Can delete version" - }, - "model": "auth.permission", - "pk": 33 - }, - { - "fields": { - "codename": "view_version", - "content_type": 24, - "name": "Can view version" - }, - "model": "auth.permission", - "pk": 34 - }, - { - "fields": { - "codename": "add_tag", - "content_type": 25, - "name": "Can add tag" - }, - "model": "auth.permission", - "pk": 35 - }, - { - "fields": { - "codename": "change_tag", - "content_type": 25, - "name": "Can change tag" - }, - "model": "auth.permission", - "pk": 36 - }, - { - "fields": { - "codename": "delete_tag", - "content_type": 25, - "name": "Can delete tag" - }, - "model": "auth.permission", - "pk": 37 - }, - { - "fields": { - "codename": "view_tag", - "content_type": 25, - "name": "Can view tag" - }, - "model": "auth.permission", - "pk": 38 - }, - { - "fields": { - "codename": "add_taggeditem", - "content_type": 26, - "name": "Can add tagged item" - }, - "model": "auth.permission", - "pk": 39 - }, - { - "fields": { - "codename": "change_taggeditem", - "content_type": 26, - "name": "Can change tagged item" - }, - "model": "auth.permission", - "pk": 40 - }, - { - "fields": { - "codename": "delete_taggeditem", - "content_type": 26, - "name": "Can delete tagged item" - }, - "model": "auth.permission", - "pk": 41 - }, - { - "fields": { - "codename": "view_taggeditem", - "content_type": 26, - "name": "Can view tagged item" - }, - "model": "auth.permission", - "pk": 42 - }, - { - "fields": { - "codename": "add_fluentcomment", - "content_type": 27, - "name": "Can add Comment" - }, - "model": "auth.permission", - "pk": 43 - }, - { - "fields": { - "codename": "change_fluentcomment", - "content_type": 27, - "name": "Can change Comment" - }, - "model": "auth.permission", - "pk": 44 - }, - { - "fields": { - "codename": "delete_fluentcomment", - "content_type": 27, - "name": "Can delete Comment" - }, - "model": "auth.permission", - "pk": 45 - }, - { - "fields": { - "codename": "view_fluentcomment", - "content_type": 27, - "name": "Can view Comment" - }, - "model": "auth.permission", - "pk": 46 - }, - { - "fields": { - "codename": "add_threadedcomment", - "content_type": 28, - "name": "Can add Threaded comment" - }, - "model": "auth.permission", - "pk": 47 - }, - { - "fields": { - "codename": "change_threadedcomment", - "content_type": 28, - "name": "Can change Threaded comment" - }, - "model": "auth.permission", - "pk": 48 - }, - { - "fields": { - "codename": "delete_threadedcomment", - "content_type": 28, - "name": "Can delete Threaded comment" - }, - "model": "auth.permission", - "pk": 49 - }, - { - "fields": { - "codename": "view_threadedcomment", - "content_type": 28, - "name": "Can view Threaded comment" - }, - "model": "auth.permission", - "pk": 50 - }, - { - "fields": { - "codename": "add_comment", - "content_type": 29, - "name": "Can add comment" - }, - "model": "auth.permission", - "pk": 51 - }, - { - "fields": { - "codename": "change_comment", - "content_type": 29, - "name": "Can change comment" - }, - "model": "auth.permission", - "pk": 52 - }, - { - "fields": { - "codename": "delete_comment", - "content_type": 29, - "name": "Can delete comment" - }, - "model": "auth.permission", - "pk": 53 - }, - { - "fields": { - "codename": "view_comment", - "content_type": 29, - "name": "Can view comment" - }, - "model": "auth.permission", - "pk": 54 - }, - { - "fields": { - "codename": "can_moderate", - "content_type": 29, - "name": "Can moderate comments" - }, - "model": "auth.permission", - "pk": 55 - }, - { - "fields": { - "codename": "add_commentflag", - "content_type": 30, - "name": "Can add comment flag" - }, - "model": "auth.permission", - "pk": 56 - }, - { - "fields": { - "codename": "change_commentflag", - "content_type": 30, - "name": "Can change comment flag" - }, - "model": "auth.permission", - "pk": 57 - }, - { - "fields": { - "codename": "delete_commentflag", - "content_type": 30, - "name": "Can delete comment flag" - }, - "model": "auth.permission", - "pk": 58 - }, - { - "fields": { - "codename": "view_commentflag", - "content_type": 30, - "name": "Can view comment flag" - }, - "model": "auth.permission", - "pk": 59 - }, - { - "fields": { - "codename": "add_flatpage", - "content_type": 31, - "name": "Can add flat page" - }, - "model": "auth.permission", - "pk": 60 - }, - { - "fields": { - "codename": "change_flatpage", - "content_type": 31, - "name": "Can change flat page" - }, - "model": "auth.permission", - "pk": 61 - }, - { - "fields": { - "codename": "delete_flatpage", - "content_type": 31, - "name": "Can delete flat page" - }, - "model": "auth.permission", - "pk": 62 - }, - { - "fields": { - "codename": "view_flatpage", - "content_type": 31, - "name": "Can view flat page" - }, - "model": "auth.permission", - "pk": 63 - }, - { - "fields": { - "codename": "add_tree", - "content_type": 32, - "name": "Can add Site Tree" - }, - "model": "auth.permission", - "pk": 64 - }, - { - "fields": { - "codename": "change_tree", - "content_type": 32, - "name": "Can change Site Tree" - }, - "model": "auth.permission", - "pk": 65 - }, - { - "fields": { - "codename": "delete_tree", - "content_type": 32, - "name": "Can delete Site Tree" - }, - "model": "auth.permission", - "pk": 66 - }, - { - "fields": { - "codename": "view_tree", - "content_type": 32, - "name": "Can view Site Tree" - }, - "model": "auth.permission", - "pk": 67 - }, - { - "fields": { - "codename": "add_treeitem", - "content_type": 33, - "name": "Can add Site Tree Item" - }, - "model": "auth.permission", - "pk": 68 - }, - { - "fields": { - "codename": "change_treeitem", - "content_type": 33, - "name": "Can change Site Tree Item" - }, - "model": "auth.permission", - "pk": 69 - }, - { - "fields": { - "codename": "delete_treeitem", - "content_type": 33, - "name": "Can delete Site Tree Item" - }, - "model": "auth.permission", - "pk": 70 - }, - { - "fields": { - "codename": "view_treeitem", - "content_type": 33, - "name": "Can view Site Tree Item" - }, - "model": "auth.permission", - "pk": 71 - }, - { - "fields": { - "codename": "add_token", - "content_type": 34, - "name": "Can add Token" - }, - "model": "auth.permission", - "pk": 72 - }, - { - "fields": { - "codename": "change_token", - "content_type": 34, - "name": "Can change Token" - }, - "model": "auth.permission", - "pk": 73 - }, - { - "fields": { - "codename": "delete_token", - "content_type": 34, - "name": "Can delete Token" - }, - "model": "auth.permission", - "pk": 74 - }, - { - "fields": { - "codename": "view_token", - "content_type": 34, - "name": "Can view Token" - }, - "model": "auth.permission", - "pk": 75 - }, - { - "fields": { - "codename": "add_tokenproxy", - "content_type": 35, - "name": "Can add token" - }, - "model": "auth.permission", - "pk": 76 - }, - { - "fields": { - "codename": "change_tokenproxy", - "content_type": 35, - "name": "Can change token" - }, - "model": "auth.permission", - "pk": 77 - }, - { - "fields": { - "codename": "delete_tokenproxy", - "content_type": 35, - "name": "Can delete token" - }, - "model": "auth.permission", - "pk": 78 - }, - { - "fields": { - "codename": "view_tokenproxy", - "content_type": 35, - "name": "Can view token" - }, - "model": "auth.permission", - "pk": 79 - }, - { - "fields": { - "codename": "add_cislo", - "content_type": 36, - "name": "Can add Číslo" - }, - "model": "auth.permission", - "pk": 80 - }, - { - "fields": { - "codename": "change_cislo", - "content_type": 36, - "name": "Can change Číslo" - }, - "model": "auth.permission", - "pk": 81 - }, - { - "fields": { - "codename": "delete_cislo", - "content_type": 36, - "name": "Can delete Číslo" - }, - "model": "auth.permission", - "pk": 82 - }, - { - "fields": { - "codename": "view_cislo", - "content_type": 36, - "name": "Can view Číslo" - }, - "model": "auth.permission", - "pk": 83 - }, - { - "fields": { - "codename": "add_problem", - "content_type": 2, - "name": "Can add Problém" - }, - "model": "auth.permission", - "pk": 84 - }, - { - "fields": { - "codename": "change_problem", - "content_type": 2, - "name": "Can change Problém" - }, - "model": "auth.permission", - "pk": 85 - }, - { - "fields": { - "codename": "delete_problem", - "content_type": 2, - "name": "Can delete Problém" - }, - "model": "auth.permission", - "pk": 86 - }, - { - "fields": { - "codename": "view_problem", - "content_type": 2, - "name": "Can view Problém" - }, - "model": "auth.permission", - "pk": 87 - }, - { - "fields": { - "codename": "add_resitel", - "content_type": 37, - "name": "Can add Řešitel" - }, - "model": "auth.permission", - "pk": 88 - }, - { - "fields": { - "codename": "change_resitel", - "content_type": 37, - "name": "Can change Řešitel" - }, - "model": "auth.permission", - "pk": 89 - }, - { - "fields": { - "codename": "delete_resitel", - "content_type": 37, - "name": "Can delete Řešitel" - }, - "model": "auth.permission", - "pk": 90 - }, - { - "fields": { - "codename": "view_resitel", - "content_type": 37, - "name": "Can view Řešitel" - }, - "model": "auth.permission", - "pk": 91 - }, - { - "fields": { - "codename": "add_rocnik", - "content_type": 38, - "name": "Can add Ročník" - }, - "model": "auth.permission", - "pk": 92 - }, - { - "fields": { - "codename": "change_rocnik", - "content_type": 38, - "name": "Can change Ročník" - }, - "model": "auth.permission", - "pk": 93 - }, - { - "fields": { - "codename": "delete_rocnik", - "content_type": 38, - "name": "Can delete Ročník" - }, - "model": "auth.permission", - "pk": 94 - }, - { - "fields": { - "codename": "view_rocnik", - "content_type": 38, - "name": "Can view Ročník" - }, - "model": "auth.permission", - "pk": 95 - }, - { - "fields": { - "codename": "add_skola", - "content_type": 39, - "name": "Can add Škola" - }, - "model": "auth.permission", - "pk": 96 - }, - { - "fields": { - "codename": "change_skola", - "content_type": 39, - "name": "Can change Škola" - }, - "model": "auth.permission", - "pk": 97 - }, - { - "fields": { - "codename": "delete_skola", - "content_type": 39, - "name": "Can delete Škola" - }, - "model": "auth.permission", - "pk": 98 - }, - { - "fields": { - "codename": "view_skola", - "content_type": 39, - "name": "Can view Škola" - }, - "model": "auth.permission", - "pk": 99 - }, - { - "fields": { - "codename": "add_soustredeni", - "content_type": 40, - "name": "Can add Soustředění" - }, - "model": "auth.permission", - "pk": 100 - }, - { - "fields": { - "codename": "change_soustredeni", - "content_type": 40, - "name": "Can change Soustředění" - }, - "model": "auth.permission", - "pk": 101 - }, - { - "fields": { - "codename": "delete_soustredeni", - "content_type": 40, - "name": "Can delete Soustředění" - }, - "model": "auth.permission", - "pk": 102 - }, - { - "fields": { - "codename": "view_soustredeni", - "content_type": 40, - "name": "Can view Soustředění" - }, - "model": "auth.permission", - "pk": 103 - }, - { - "fields": { - "codename": "add_reseni", - "content_type": 41, - "name": "Can add Řešení" - }, - "model": "auth.permission", - "pk": 104 - }, - { - "fields": { - "codename": "change_reseni", - "content_type": 41, - "name": "Can change Řešení" - }, - "model": "auth.permission", - "pk": 105 - }, - { - "fields": { - "codename": "delete_reseni", - "content_type": 41, - "name": "Can delete Řešení" - }, - "model": "auth.permission", - "pk": 106 - }, - { - "fields": { - "codename": "view_reseni", - "content_type": 41, - "name": "Can view Řešení" - }, - "model": "auth.permission", - "pk": 107 - }, - { - "fields": { - "codename": "add_prilohareseni", - "content_type": 42, - "name": "Can add Příloha řešení" - }, - "model": "auth.permission", - "pk": 108 - }, - { - "fields": { - "codename": "change_prilohareseni", - "content_type": 42, - "name": "Can change Příloha řešení" - }, - "model": "auth.permission", - "pk": 109 - }, - { - "fields": { - "codename": "delete_prilohareseni", - "content_type": 42, - "name": "Can delete Příloha řešení" - }, - "model": "auth.permission", - "pk": 110 - }, - { - "fields": { - "codename": "view_prilohareseni", - "content_type": 42, - "name": "Can view Příloha řešení" - }, - "model": "auth.permission", - "pk": 111 - }, - { - "fields": { - "codename": "add_nastaveni", - "content_type": 43, - "name": "Can add Nastavení semináře" - }, - "model": "auth.permission", - "pk": 112 - }, - { - "fields": { - "codename": "change_nastaveni", - "content_type": 43, - "name": "Can change Nastavení semináře" - }, - "model": "auth.permission", - "pk": 113 - }, - { - "fields": { - "codename": "delete_nastaveni", - "content_type": 43, - "name": "Can delete Nastavení semináře" - }, - "model": "auth.permission", - "pk": 114 - }, - { - "fields": { - "codename": "view_nastaveni", - "content_type": 43, - "name": "Can view Nastavení semináře" - }, - "model": "auth.permission", - "pk": 115 - }, - { - "fields": { - "codename": "add_soustredeni_ucastnici", - "content_type": 44, - "name": "Can add Účast na soustředění" - }, - "model": "auth.permission", - "pk": 116 - }, - { - "fields": { - "codename": "change_soustredeni_ucastnici", - "content_type": 44, - "name": "Can change Účast na soustředění" - }, - "model": "auth.permission", - "pk": 117 - }, - { - "fields": { - "codename": "delete_soustredeni_ucastnici", - "content_type": 44, - "name": "Can delete Účast na soustředění" - }, - "model": "auth.permission", - "pk": 118 - }, - { - "fields": { - "codename": "view_soustredeni_ucastnici", - "content_type": 44, - "name": "Can view Účast na soustředění" - }, - "model": "auth.permission", - "pk": 119 - }, - { - "fields": { - "codename": "add_novinky", - "content_type": 45, - "name": "Can add Novinka" - }, - "model": "auth.permission", - "pk": 120 - }, - { - "fields": { - "codename": "change_novinky", - "content_type": 45, - "name": "Can change Novinka" - }, - "model": "auth.permission", - "pk": 121 - }, - { - "fields": { - "codename": "delete_novinky", - "content_type": 45, - "name": "Can delete Novinka" - }, - "model": "auth.permission", - "pk": 122 - }, - { - "fields": { - "codename": "view_novinky", - "content_type": 45, - "name": "Can view Novinka" - }, - "model": "auth.permission", - "pk": 123 - }, - { - "fields": { - "codename": "add_organizator", - "content_type": 46, - "name": "Can add Organizátor" - }, - "model": "auth.permission", - "pk": 124 - }, - { - "fields": { - "codename": "change_organizator", - "content_type": 46, - "name": "Can change Organizátor" - }, - "model": "auth.permission", - "pk": 125 - }, - { - "fields": { - "codename": "delete_organizator", - "content_type": 46, - "name": "Can delete Organizátor" - }, - "model": "auth.permission", - "pk": 126 - }, - { - "fields": { - "codename": "view_organizator", - "content_type": 46, - "name": "Can view Organizátor" - }, - "model": "auth.permission", - "pk": 127 - }, - { - "fields": { - "codename": "add_soustredeni_organizatori", - "content_type": 47, - "name": "Can add Účast organizátorů na soustředění" - }, - "model": "auth.permission", - "pk": 128 - }, - { - "fields": { - "codename": "change_soustredeni_organizatori", - "content_type": 47, - "name": "Can change Účast organizátorů na soustředění" - }, - "model": "auth.permission", - "pk": 129 - }, - { - "fields": { - "codename": "delete_soustredeni_organizatori", - "content_type": 47, - "name": "Can delete Účast organizátorů na soustředění" - }, - "model": "auth.permission", - "pk": 130 - }, - { - "fields": { - "codename": "view_soustredeni_organizatori", - "content_type": 47, - "name": "Can view Účast organizátorů na soustředění" - }, - "model": "auth.permission", - "pk": 131 - }, - { - "fields": { - "codename": "add_konfera", - "content_type": 48, - "name": "Can add Konfera" - }, - "model": "auth.permission", - "pk": 132 - }, - { - "fields": { - "codename": "change_konfera", - "content_type": 48, - "name": "Can change Konfera" - }, - "model": "auth.permission", - "pk": 133 - }, - { - "fields": { - "codename": "delete_konfera", - "content_type": 48, - "name": "Can delete Konfera" - }, - "model": "auth.permission", - "pk": 134 - }, - { - "fields": { - "codename": "view_konfera", - "content_type": 48, - "name": "Can view Konfera" - }, - "model": "auth.permission", - "pk": 135 - }, - { - "fields": { - "codename": "add_osoba", - "content_type": 49, - "name": "Can add Osoba" - }, - "model": "auth.permission", - "pk": 136 - }, - { - "fields": { - "codename": "change_osoba", - "content_type": 49, - "name": "Can change Osoba" - }, - "model": "auth.permission", - "pk": 137 - }, - { - "fields": { - "codename": "delete_osoba", - "content_type": 49, - "name": "Can delete Osoba" - }, - "model": "auth.permission", - "pk": 138 - }, - { - "fields": { - "codename": "view_osoba", - "content_type": 49, - "name": "Can view Osoba" - }, - "model": "auth.permission", - "pk": 139 - }, - { - "fields": { - "codename": "add_prijemce", - "content_type": 50, - "name": "Can add příjemce" - }, - "model": "auth.permission", - "pk": 140 - }, - { - "fields": { - "codename": "change_prijemce", - "content_type": 50, - "name": "Can change příjemce" - }, - "model": "auth.permission", - "pk": 141 - }, - { - "fields": { - "codename": "delete_prijemce", - "content_type": 50, - "name": "Can delete příjemce" - }, - "model": "auth.permission", - "pk": 142 - }, - { - "fields": { - "codename": "view_prijemce", - "content_type": 50, - "name": "Can view příjemce" - }, - "model": "auth.permission", - "pk": 143 - }, - { - "fields": { - "codename": "add_text", - "content_type": 51, - "name": "Can add text" - }, - "model": "auth.permission", - "pk": 144 - }, - { - "fields": { - "codename": "change_text", - "content_type": 51, - "name": "Can change text" - }, - "model": "auth.permission", - "pk": 145 - }, - { - "fields": { - "codename": "delete_text", - "content_type": 51, - "name": "Can delete text" - }, - "model": "auth.permission", - "pk": 146 - }, - { - "fields": { - "codename": "view_text", - "content_type": 51, - "name": "Can view text" - }, - "model": "auth.permission", - "pk": 147 - }, - { - "fields": { - "codename": "add_uloha", - "content_type": 16, - "name": "Can add Úloha" - }, - "model": "auth.permission", - "pk": 148 - }, - { - "fields": { - "codename": "change_uloha", - "content_type": 16, - "name": "Can change Úloha" - }, - "model": "auth.permission", - "pk": 149 - }, - { - "fields": { - "codename": "delete_uloha", - "content_type": 16, - "name": "Can delete Úloha" - }, - "model": "auth.permission", - "pk": 150 - }, - { - "fields": { - "codename": "view_uloha", - "content_type": 16, - "name": "Can view Úloha" - }, - "model": "auth.permission", - "pk": 151 - }, - { - "fields": { - "codename": "add_pohadka", - "content_type": 52, - "name": "Can add Pohádka" - }, - "model": "auth.permission", - "pk": 152 - }, - { - "fields": { - "codename": "change_pohadka", - "content_type": 52, - "name": "Can change Pohádka" - }, - "model": "auth.permission", - "pk": 153 - }, - { - "fields": { - "codename": "delete_pohadka", - "content_type": 52, - "name": "Can delete Pohádka" - }, - "model": "auth.permission", - "pk": 154 - }, - { - "fields": { - "codename": "view_pohadka", - "content_type": 52, - "name": "Can view Pohádka" - }, - "model": "auth.permission", - "pk": 155 - }, - { - "fields": { - "codename": "add_tema", - "content_type": 14, - "name": "Can add Téma" - }, - "model": "auth.permission", - "pk": 156 - }, - { - "fields": { - "codename": "change_tema", - "content_type": 14, - "name": "Can change Téma" - }, - "model": "auth.permission", - "pk": 157 - }, - { - "fields": { - "codename": "delete_tema", - "content_type": 14, - "name": "Can delete Téma" - }, - "model": "auth.permission", - "pk": 158 - }, - { - "fields": { - "codename": "view_tema", - "content_type": 14, - "name": "Can view Téma" - }, - "model": "auth.permission", - "pk": 159 - }, - { - "fields": { - "codename": "add_reseni_resitele", - "content_type": 53, - "name": "Can add Řešení řešitelů" - }, - "model": "auth.permission", - "pk": 160 - }, - { - "fields": { - "codename": "change_reseni_resitele", - "content_type": 53, - "name": "Can change Řešení řešitelů" - }, - "model": "auth.permission", - "pk": 161 - }, - { - "fields": { - "codename": "delete_reseni_resitele", - "content_type": 53, - "name": "Can delete Řešení řešitelů" - }, - "model": "auth.permission", - "pk": 162 - }, - { - "fields": { - "codename": "view_reseni_resitele", - "content_type": 53, - "name": "Can view Řešení řešitelů" - }, - "model": "auth.permission", - "pk": 163 - }, - { - "fields": { - "codename": "add_obrazek", - "content_type": 54, - "name": "Can add obrázek" - }, - "model": "auth.permission", - "pk": 164 - }, - { - "fields": { - "codename": "change_obrazek", - "content_type": 54, - "name": "Can change obrázek" - }, - "model": "auth.permission", - "pk": 165 - }, - { - "fields": { - "codename": "delete_obrazek", - "content_type": 54, - "name": "Can delete obrázek" - }, - "model": "auth.permission", - "pk": 166 - }, - { - "fields": { - "codename": "view_obrazek", - "content_type": 54, - "name": "Can view obrázek" - }, - "model": "auth.permission", - "pk": 167 - }, - { - "fields": { - "codename": "add_hodnoceni", - "content_type": 55, - "name": "Can add Hodnocení" - }, - "model": "auth.permission", - "pk": 168 - }, - { - "fields": { - "codename": "change_hodnoceni", - "content_type": 55, - "name": "Can change Hodnocení" - }, - "model": "auth.permission", - "pk": 169 - }, - { - "fields": { - "codename": "delete_hodnoceni", - "content_type": 55, - "name": "Can delete Hodnocení" - }, - "model": "auth.permission", - "pk": 170 - }, - { - "fields": { - "codename": "view_hodnoceni", - "content_type": 55, - "name": "Can view Hodnocení" - }, - "model": "auth.permission", - "pk": 171 - }, - { - "fields": { - "codename": "add_clanek", - "content_type": 15, - "name": "Can add Článek" - }, - "model": "auth.permission", - "pk": 172 - }, - { - "fields": { - "codename": "change_clanek", - "content_type": 15, - "name": "Can change Článek" - }, - "model": "auth.permission", - "pk": 173 - }, - { - "fields": { - "codename": "delete_clanek", - "content_type": 15, - "name": "Can delete Článek" - }, - "model": "auth.permission", - "pk": 174 - }, - { - "fields": { - "codename": "view_clanek", - "content_type": 15, - "name": "Can view Článek" - }, - "model": "auth.permission", - "pk": 175 - }, - { - "fields": { - "codename": "add_treenode", - "content_type": 1, - "name": "Can add TreeNode" - }, - "model": "auth.permission", - "pk": 176 - }, - { - "fields": { - "codename": "change_treenode", - "content_type": 1, - "name": "Can change TreeNode" - }, - "model": "auth.permission", - "pk": 177 - }, - { - "fields": { - "codename": "delete_treenode", - "content_type": 1, - "name": "Can delete TreeNode" - }, - "model": "auth.permission", - "pk": 178 - }, - { - "fields": { - "codename": "view_treenode", - "content_type": 1, - "name": "Can view TreeNode" - }, - "model": "auth.permission", - "pk": 179 - }, - { - "fields": { - "codename": "add_cislonode", - "content_type": 4, - "name": "Can add Číslo (Node)" - }, - "model": "auth.permission", - "pk": 180 - }, - { - "fields": { - "codename": "change_cislonode", - "content_type": 4, - "name": "Can change Číslo (Node)" - }, - "model": "auth.permission", - "pk": 181 - }, - { - "fields": { - "codename": "delete_cislonode", - "content_type": 4, - "name": "Can delete Číslo (Node)" - }, - "model": "auth.permission", - "pk": 182 - }, - { - "fields": { - "codename": "view_cislonode", - "content_type": 4, - "name": "Can view Číslo (Node)" - }, - "model": "auth.permission", - "pk": 183 - }, - { - "fields": { - "codename": "add_mezicislonode", - "content_type": 5, - "name": "Can add Mezičíslo (Node)" - }, - "model": "auth.permission", - "pk": 184 - }, - { - "fields": { - "codename": "change_mezicislonode", - "content_type": 5, - "name": "Can change Mezičíslo (Node)" - }, - "model": "auth.permission", - "pk": 185 - }, - { - "fields": { - "codename": "delete_mezicislonode", - "content_type": 5, - "name": "Can delete Mezičíslo (Node)" - }, - "model": "auth.permission", - "pk": 186 - }, - { - "fields": { - "codename": "view_mezicislonode", - "content_type": 5, - "name": "Can view Mezičíslo (Node)" - }, - "model": "auth.permission", - "pk": 187 - }, - { - "fields": { - "codename": "add_rocniknode", - "content_type": 3, - "name": "Can add Ročník (Node)" - }, - "model": "auth.permission", - "pk": 188 - }, - { - "fields": { - "codename": "change_rocniknode", - "content_type": 3, - "name": "Can change Ročník (Node)" - }, - "model": "auth.permission", - "pk": 189 - }, - { - "fields": { - "codename": "delete_rocniknode", - "content_type": 3, - "name": "Can delete Ročník (Node)" - }, - "model": "auth.permission", - "pk": 190 - }, - { - "fields": { - "codename": "view_rocniknode", - "content_type": 3, - "name": "Can view Ročník (Node)" - }, - "model": "auth.permission", - "pk": 191 - }, - { - "fields": { - "codename": "add_temavcislenode", - "content_type": 6, - "name": "Can add Téma v čísle (Node)" - }, - "model": "auth.permission", - "pk": 192 - }, - { - "fields": { - "codename": "change_temavcislenode", - "content_type": 6, - "name": "Can change Téma v čísle (Node)" - }, - "model": "auth.permission", - "pk": 193 - }, - { - "fields": { - "codename": "delete_temavcislenode", - "content_type": 6, - "name": "Can delete Téma v čísle (Node)" - }, - "model": "auth.permission", - "pk": 194 - }, - { - "fields": { - "codename": "view_temavcislenode", - "content_type": 6, - "name": "Can view Téma v čísle (Node)" - }, - "model": "auth.permission", - "pk": 195 - }, - { - "fields": { - "codename": "add_textnode", - "content_type": 11, - "name": "Can add Text (Node)" - }, - "model": "auth.permission", - "pk": 196 - }, - { - "fields": { - "codename": "change_textnode", - "content_type": 11, - "name": "Can change Text (Node)" - }, - "model": "auth.permission", - "pk": 197 - }, - { - "fields": { - "codename": "delete_textnode", - "content_type": 11, - "name": "Can delete Text (Node)" - }, - "model": "auth.permission", - "pk": 198 - }, - { - "fields": { - "codename": "view_textnode", - "content_type": 11, - "name": "Can view Text (Node)" - }, - "model": "auth.permission", - "pk": 199 - }, - { - "fields": { - "codename": "add_ulohavzoraknode", - "content_type": 9, - "name": "Can add Vzorák úlohy (Node)" - }, - "model": "auth.permission", - "pk": 200 - }, - { - "fields": { - "codename": "change_ulohavzoraknode", - "content_type": 9, - "name": "Can change Vzorák úlohy (Node)" - }, - "model": "auth.permission", - "pk": 201 - }, - { - "fields": { - "codename": "delete_ulohavzoraknode", - "content_type": 9, - "name": "Can delete Vzorák úlohy (Node)" - }, - "model": "auth.permission", - "pk": 202 - }, - { - "fields": { - "codename": "view_ulohavzoraknode", - "content_type": 9, - "name": "Can view Vzorák úlohy (Node)" - }, - "model": "auth.permission", - "pk": 203 - }, - { - "fields": { - "codename": "add_ulohazadaninode", - "content_type": 8, - "name": "Can add Zadání úlohy (Node)" - }, - "model": "auth.permission", - "pk": 204 - }, - { - "fields": { - "codename": "change_ulohazadaninode", - "content_type": 8, - "name": "Can change Zadání úlohy (Node)" - }, - "model": "auth.permission", - "pk": 205 - }, - { - "fields": { - "codename": "delete_ulohazadaninode", - "content_type": 8, - "name": "Can delete Zadání úlohy (Node)" - }, - "model": "auth.permission", - "pk": 206 - }, - { - "fields": { - "codename": "view_ulohazadaninode", - "content_type": 8, - "name": "Can view Zadání úlohy (Node)" - }, - "model": "auth.permission", - "pk": 207 - }, - { - "fields": { - "codename": "add_pohadkanode", - "content_type": 10, - "name": "Can add Pohádka (Node)" - }, - "model": "auth.permission", - "pk": 208 - }, - { - "fields": { - "codename": "change_pohadkanode", - "content_type": 10, - "name": "Can change Pohádka (Node)" - }, - "model": "auth.permission", - "pk": 209 - }, - { - "fields": { - "codename": "delete_pohadkanode", - "content_type": 10, - "name": "Can delete Pohádka (Node)" - }, - "model": "auth.permission", - "pk": 210 - }, - { - "fields": { - "codename": "view_pohadkanode", - "content_type": 10, - "name": "Can view Pohádka (Node)" - }, - "model": "auth.permission", - "pk": 211 - }, - { - "fields": { - "codename": "add_castnode", - "content_type": 12, - "name": "Can add Část (Node)" - }, - "model": "auth.permission", - "pk": 212 - }, - { - "fields": { - "codename": "change_castnode", - "content_type": 12, - "name": "Can change Část (Node)" - }, - "model": "auth.permission", - "pk": 213 - }, - { - "fields": { - "codename": "delete_castnode", - "content_type": 12, - "name": "Can delete Část (Node)" - }, - "model": "auth.permission", - "pk": 214 - }, - { - "fields": { - "codename": "view_castnode", - "content_type": 12, - "name": "Can view Část (Node)" - }, - "model": "auth.permission", - "pk": 215 - }, - { - "fields": { - "codename": "add_orgtextnode", - "content_type": 7, - "name": "Can add Organizátorský článek (Node)" - }, - "model": "auth.permission", - "pk": 216 - }, - { - "fields": { - "codename": "change_orgtextnode", - "content_type": 7, - "name": "Can change Organizátorský článek (Node)" - }, - "model": "auth.permission", - "pk": 217 - }, - { - "fields": { - "codename": "delete_orgtextnode", - "content_type": 7, - "name": "Can delete Organizátorský článek (Node)" - }, - "model": "auth.permission", - "pk": 218 - }, - { - "fields": { - "codename": "view_orgtextnode", - "content_type": 7, - "name": "Can view Organizátorský článek (Node)" - }, - "model": "auth.permission", - "pk": 219 - }, - { - "fields": { - "codename": "add_reseninode", - "content_type": 13, - "name": "Can add Otištěné řešení (Node)" - }, - "model": "auth.permission", - "pk": 220 - }, - { - "fields": { - "codename": "change_reseninode", - "content_type": 13, - "name": "Can change Otištěné řešení (Node)" - }, - "model": "auth.permission", - "pk": 221 - }, - { - "fields": { - "codename": "delete_reseninode", - "content_type": 13, - "name": "Can delete Otištěné řešení (Node)" - }, - "model": "auth.permission", - "pk": 222 - }, - { - "fields": { - "codename": "view_reseninode", - "content_type": 13, - "name": "Can view Otištěné řešení (Node)" - }, - "model": "auth.permission", - "pk": 223 - }, - { - "fields": { - "codename": "add_konfery_ucastnici", - "content_type": 56, - "name": "Can add Účast na konfeře" - }, - "model": "auth.permission", - "pk": 224 - }, - { - "fields": { - "codename": "change_konfery_ucastnici", - "content_type": 56, - "name": "Can change Účast na konfeře" - }, - "model": "auth.permission", - "pk": 225 - }, - { - "fields": { - "codename": "delete_konfery_ucastnici", - "content_type": 56, - "name": "Can delete Účast na konfeře" - }, - "model": "auth.permission", - "pk": 226 - }, - { - "fields": { - "codename": "view_konfery_ucastnici", - "content_type": 56, - "name": "Can view Účast na konfeře" - }, - "model": "auth.permission", - "pk": 227 - }, - { - "fields": { - "codename": "add_galerie", - "content_type": 57, - "name": "Can add Galerie" - }, - "model": "auth.permission", - "pk": 228 - }, - { - "fields": { - "codename": "change_galerie", - "content_type": 57, - "name": "Can change Galerie" - }, - "model": "auth.permission", - "pk": 229 - }, - { - "fields": { - "codename": "delete_galerie", - "content_type": 57, - "name": "Can delete Galerie" - }, - "model": "auth.permission", - "pk": 230 - }, - { - "fields": { - "codename": "view_galerie", - "content_type": 57, - "name": "Can view Galerie" - }, - "model": "auth.permission", - "pk": 231 - }, - { - "fields": { - "codename": "add_obrazek", - "content_type": 58, - "name": "Can add Obrázek" - }, - "model": "auth.permission", - "pk": 232 - }, - { - "fields": { - "codename": "change_obrazek", - "content_type": 58, - "name": "Can change Obrázek" - }, - "model": "auth.permission", - "pk": 233 - }, - { - "fields": { - "codename": "delete_obrazek", - "content_type": 58, - "name": "Can delete Obrázek" - }, - "model": "auth.permission", - "pk": 234 - }, - { - "fields": { - "codename": "view_obrazek", - "content_type": 58, - "name": "Can view Obrázek" - }, - "model": "auth.permission", - "pk": 235 - }, - { - "fields": { - "codename": "add_korekturovanepdf", - "content_type": 59, - "name": "Can add PDF k opravám" - }, - "model": "auth.permission", - "pk": 236 - }, - { - "fields": { - "codename": "change_korekturovanepdf", - "content_type": 59, - "name": "Can change PDF k opravám" - }, - "model": "auth.permission", - "pk": 237 - }, - { - "fields": { - "codename": "delete_korekturovanepdf", - "content_type": 59, - "name": "Can delete PDF k opravám" - }, - "model": "auth.permission", - "pk": 238 - }, - { - "fields": { - "codename": "view_korekturovanepdf", - "content_type": 59, - "name": "Can view PDF k opravám" - }, - "model": "auth.permission", - "pk": 239 - }, - { - "fields": { - "codename": "add_oprava", - "content_type": 60, - "name": "Can add Oprava" - }, - "model": "auth.permission", - "pk": 240 - }, - { - "fields": { - "codename": "change_oprava", - "content_type": 60, - "name": "Can change Oprava" - }, - "model": "auth.permission", - "pk": 241 - }, - { - "fields": { - "codename": "delete_oprava", - "content_type": 60, - "name": "Can delete Oprava" - }, - "model": "auth.permission", - "pk": 242 - }, - { - "fields": { - "codename": "view_oprava", - "content_type": 60, - "name": "Can view Oprava" - }, - "model": "auth.permission", - "pk": 243 - }, - { - "fields": { - "codename": "add_komentar", - "content_type": 61, - "name": "Can add Komentář k opravě" - }, - "model": "auth.permission", - "pk": 244 - }, - { - "fields": { - "codename": "change_komentar", - "content_type": 61, - "name": "Can change Komentář k opravě" - }, - "model": "auth.permission", - "pk": 245 - }, - { - "fields": { - "codename": "delete_komentar", - "content_type": 61, - "name": "Can delete Komentář k opravě" - }, - "model": "auth.permission", - "pk": 246 - }, - { - "fields": { - "codename": "view_komentar", - "content_type": 61, - "name": "Can view Komentář k opravě" - }, - "model": "auth.permission", - "pk": 247 - }, - { - "fields": { - "codename": "add_hlasovani", - "content_type": 62, - "name": "Can add Hlasování" - }, - "model": "auth.permission", - "pk": 248 - }, - { - "fields": { - "codename": "change_hlasovani", - "content_type": 62, - "name": "Can change Hlasování" - }, - "model": "auth.permission", - "pk": 249 - }, - { - "fields": { - "codename": "delete_hlasovani", - "content_type": 62, - "name": "Can delete Hlasování" - }, - "model": "auth.permission", - "pk": 250 - }, - { - "fields": { - "codename": "view_hlasovani", - "content_type": 62, - "name": "Can view Hlasování" - }, - "model": "auth.permission", - "pk": 251 - }, - { - "fields": { - "codename": "add_prednaska", - "content_type": 63, - "name": "Can add Přednáška" - }, - "model": "auth.permission", - "pk": 252 - }, - { - "fields": { - "codename": "change_prednaska", - "content_type": 63, - "name": "Can change Přednáška" - }, - "model": "auth.permission", - "pk": 253 - }, - { - "fields": { - "codename": "delete_prednaska", - "content_type": 63, - "name": "Can delete Přednáška" - }, - "model": "auth.permission", - "pk": 254 - }, - { - "fields": { - "codename": "view_prednaska", - "content_type": 63, - "name": "Can view Přednáška" - }, - "model": "auth.permission", - "pk": 255 - }, - { - "fields": { - "codename": "add_seznam", - "content_type": 64, - "name": "Can add Seznam přednášek" - }, - "model": "auth.permission", - "pk": 256 - }, - { - "fields": { - "codename": "change_seznam", - "content_type": 64, - "name": "Can change Seznam přednášek" - }, - "model": "auth.permission", - "pk": 257 - }, - { - "fields": { - "codename": "delete_seznam", - "content_type": 64, - "name": "Can delete Seznam přednášek" - }, - "model": "auth.permission", - "pk": 258 - }, - { - "fields": { - "codename": "view_seznam", - "content_type": 64, - "name": "Can view Seznam přednášek" - }, - "model": "auth.permission", - "pk": 259 - }, - { - "fields": { - "codename": "add_fotkaheader", - "content_type": 65, - "name": "Can add fotka do pozadí menu" - }, - "model": "auth.permission", - "pk": 260 - }, - { - "fields": { - "codename": "change_fotkaheader", - "content_type": 65, - "name": "Can change fotka do pozadí menu" - }, - "model": "auth.permission", - "pk": 261 - }, - { - "fields": { - "codename": "delete_fotkaheader", - "content_type": 65, - "name": "Can delete fotka do pozadí menu" - }, - "model": "auth.permission", - "pk": 262 - }, - { - "fields": { - "codename": "view_fotkaheader", - "content_type": 65, - "name": "Can view fotka do pozadí menu" - }, - "model": "auth.permission", - "pk": 263 - }, - { - "fields": { - "codename": "add_fotkaurlvazba", - "content_type": 66, - "name": "Can add vazba url a fotky do pozadí menu" - }, - "model": "auth.permission", - "pk": 264 - }, - { - "fields": { - "codename": "change_fotkaurlvazba", - "content_type": 66, - "name": "Can change vazba url a fotky do pozadí menu" - }, - "model": "auth.permission", - "pk": 265 - }, - { - "fields": { - "codename": "delete_fotkaurlvazba", - "content_type": 66, - "name": "Can delete vazba url a fotky do pozadí menu" - }, - "model": "auth.permission", - "pk": 266 - }, - { - "fields": { - "codename": "view_fotkaurlvazba", - "content_type": 66, - "name": "Can view vazba url a fotky do pozadí menu" - }, - "model": "auth.permission", - "pk": 267 - }, - { - "fields": { - "codename": "add_logentry", - "content_type": 67, - "name": "Can add log entry" - }, - "model": "auth.permission", - "pk": 268 - }, - { - "fields": { - "codename": "change_logentry", - "content_type": 67, - "name": "Can change log entry" - }, - "model": "auth.permission", - "pk": 269 - }, - { - "fields": { - "codename": "delete_logentry", - "content_type": 67, - "name": "Can delete log entry" - }, - "model": "auth.permission", - "pk": 270 - }, - { - "fields": { - "codename": "view_logentry", - "content_type": 67, - "name": "Can view log entry" - }, - "model": "auth.permission", - "pk": 271 - } -] \ No newline at end of file From a452cc73f07389bee90c419ed1d8db633a700f37 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 23 Mar 2021 19:42:25 +0100 Subject: [PATCH 03/11] =?UTF-8?q?P=C5=99evod=20PDF=E2=86=92PNG=20pomoc?= =?UTF-8?q?=C3=AD=20subprocess.run=20a=20s=20lep=C5=A1=C3=AD=20chybovou=20?= =?UTF-8?q?hl=C3=A1=C5=A1kou.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nevím, jak na produkci, ale v debug módu je chybová hláška vidět v lokálních proměnných. --- seminar/models.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/seminar/models.py b/seminar/models.py index b7147106..63c9bdfa 100644 --- a/seminar/models.py +++ b/seminar/models.py @@ -601,7 +601,7 @@ class Cislo(SeminarModelBase): if not self.titulka_nahled or os.path.getmtime(self.titulka_nahled.path) < os.path.getmtime(self.pdf.path): png_filename = pathlib.Path(tempfile.mkdtemp(), 'nahled.png') - subprocess.call([ + subprocess.run([ "convert", "-density", "300x300", "-geometry", "{}x{}".format(VYSKA, sirka), @@ -609,7 +609,10 @@ class Cislo(SeminarModelBase): "-flatten", "{}[0]".format(self.pdf.path), # titulní strana png_filename - ]) + ], + check=True, + capture_output=True + ) with open(png_filename,'rb') as f: self.titulka_nahled.save('',f,True) From 7dfa2a799dbddbae62f90284a4d2f87e54341771 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Tue, 23 Mar 2021 19:44:51 +0100 Subject: [PATCH 04/11] =?UTF-8?q?M=C4=9Blo=20by=20sta=C4=8Dit=20k=20navr?= =?UTF-8?q?=C3=A1cen=C3=AD=20star=C3=BDch=20v=C3=BDsledkovek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views/vysledkovka.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/seminar/views/vysledkovka.py b/seminar/views/vysledkovka.py index 6a5da6a9..86b5d8f1 100644 --- a/seminar/views/vysledkovka.py +++ b/seminar/views/vysledkovka.py @@ -4,6 +4,8 @@ from seminar.utils import aktivniResitele, resi_v_rocniku, cisla_rocniku, hlavni import time ### Výsledky +ROCNIK_ZRUSENI_TEMAT = 25 + def sloupec_s_poradim(setrizene_body): """ Ze seznamu obsahujícího sestupně setřízené body řešitelů za daný ročník @@ -255,7 +257,10 @@ def secti_body_za_cislo(cislo, aktivni_resitele, hlavni_problemy=None): inst = problem.get_real_instance() return not(isinstance(inst, m.Clanek) or isinstance(inst, m.Konfera)) - temata_a_spol = list(filter(ne_clanek_ne_konfera, hlavni_problemy)) + if cislo.rocnik.rocnik < ROCNIK_ZRUSENI_TEMAT: + temata_a_spol = hlavni_problemy + else: + temata_a_spol = list(filter(ne_clanek_ne_konfera, hlavni_problemy)) hlavni_problemy_slovnik = {} for hp in temata_a_spol: @@ -410,7 +415,10 @@ def vysledkovka_cisla(cislo, context=None): return not(isinstance(problem.get_real_instance(), m.Clanek) or isinstance(problem.get_real_instance(), m.Konfera)) - temata_a_spol = list(filter(ne_clanek_ne_konfera, hlavni_problemy)) + if cislo.rocnik.rocnik < ROCNIK_ZRUSENI_TEMAT: + temata_a_spol = hlavni_problemy + else: + temata_a_spol = list(filter(ne_clanek_ne_konfera, hlavni_problemy)) # získáme body u jednotlivých témat podproblemy = podproblemy_v_cislu(cislo, problemy, temata_a_spol) From 79e51a63bb25414208cffa5c48dd0ee234bc7a06 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 23 Mar 2021 23:44:58 +0100 Subject: [PATCH 05/11] =?UTF-8?q?Pos=C3=ADl=C3=A1n=C3=AD=20mail=C5=AF=20o?= =?UTF-8?q?=20submitovan=C3=BDch=20=C5=99e=C5=A1en=C3=ADch=20(verze=20alfa?= =?UTF-8?q?-1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/views/views_all.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 04600d6a..6b4d8119 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -4,6 +4,7 @@ from django.shortcuts import get_object_or_404, render, redirect from django.http import HttpResponse, HttpResponseRedirect, HttpResponseForbidden, JsonResponse from django.urls import reverse,reverse_lazy from django.core.exceptions import PermissionDenied, ObjectDoesNotExist +from django.core.mail import send_mail from django.views import generic from django.utils.translation import ugettext as _ from django.http import Http404,HttpResponseBadRequest,HttpResponseRedirect @@ -1057,6 +1058,21 @@ class NahrajReseniView(LoginRequiredMixin, CreateView): prilohy.instance = self.object prilohy.save() + + # Pošleme mail opravovatelům a garantovi + # FIXME: Nechat spočítat databázi? Je to pár dotazů (pravděpodobně), takže to za to možná nestojí + prijemci = set() + for prob in form.cleaned_data['problem']: + prijemci.update(prob.opravovatele.all()) + prijemci.add(prob.garant) + # FIXME: Možná poslat mail i relevantním orgům nadproblémů? + # FIXME: Víc informativní obsah mailů, možná vč. příloh? + send_mail( + subject="Nové řešení k problému", + message=f"Řešitel poslal řešení...", + from_email="submitovatko@mam.mff.cuni.cz", # FIXME: Chceme to mít radši tady, nebo v nastavení? + recipient_list=list(prijemci), + ) return HttpResponseRedirect(self.get_success_url()) From dac2cc8b514a51901f91041f3513f57188c1b139 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 30 Mar 2021 19:23:13 +0200 Subject: [PATCH 06/11] =?UTF-8?q?Odevzd=C3=A1v=C3=A1tko:=20ikony=20pro=20i?= =?UTF-8?q?nterakci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vykradené z korekturovátka :-) --- seminar/static/seminar/cross.png | Bin 0 -> 717 bytes seminar/static/seminar/plus.png | Bin 0 -> 11686 bytes .../templates/seminar/odevzdavatko/detail.html | 9 +++++---- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 seminar/static/seminar/cross.png create mode 100644 seminar/static/seminar/plus.png diff --git a/seminar/static/seminar/cross.png b/seminar/static/seminar/cross.png new file mode 100644 index 0000000000000000000000000000000000000000..f3add6aa94a37d9faf7ae2ced1d96cfeb47cca40 GIT binary patch literal 717 zcmV;;0y6!HP)b(pk;V@dCfD;u}Z0w&sM7@=wMr^ zl$y$93clx^y)G6%&^1Uu-&a-&$(fm@%E1AsmCM*M3_W{&ZFYc>Ix(T$mP+8kvNqn7 z%Xvt5?w_4qt?cguuT}$r?}Nt84R$O`e|vSsL^g+p)YRM@>Pe?HgLv@t1Z=~=cD=3x2myn~$2H^dko^y>-e_#Y&jSOh+}DTV$)py-EQpK^ z%fj80lc4uG90cs%_l|=bj-#_2Y!42qvZ|tZPmdPDkO~p+ou3Eh@iBvGFeCydgmIWeY zJraokj^jX`=P?n`7cVZ_75ZO*WP4z03dKZGt04rq7Ra2;Eh1n+sK4tZKzHw-o<@qQ zYPWlPfFoDn*X#TO)*u(YtS6;su0b!Ugc;gKIC3EP68 z2jnzKjzhyFFM=Qdp(O-KgZ-%2w;{@8)*OsiLzucN%lLu7VW~cijHrWxfYOShNutO^ zXk~s{);i0Q!3%AWHdUrayGqV{MH00000NkvXXu0mjfba+y( literal 0 HcmV?d00001 diff --git a/seminar/static/seminar/plus.png b/seminar/static/seminar/plus.png new file mode 100644 index 0000000000000000000000000000000000000000..0af0007bdfa4f97aae410d18ff294e0e08918606 GIT binary patch literal 11686 zcmeHscRZZk*7oRKwCH8jM4i#i=p}k5f(SFr5OqY0-icnLgy^CRg6K6wM1tr+5FvVr zE`)a^&v~Al?>*mnzw`Tj?|%=!8FR0Ft!u4)?X~vpo*k*HtwKUbPY3`2NYqr7^wEE* zuU`1L==YvF2T1^c_JOydv70{pA<)?cWo_$#1iE=SBY{XyTWbKobGkCaK9xh<<=Lgx z^;+y!5@XWrm3O3d=cfWv5o!lAK5uuQTVZo<<^WfsC~@(C4-+FQaaU*jcUif;qT6rpbv=WY&|=A*m9j-d@e}X zYQa*zbm3sHIrYl4zy&0sBuq9H>TMj3DSVA&MpG%z_ErbeM zKehd8Vx1*6v+2q=VzYeP=-$hWyMD1u52qJ;p3iv9_{CF_mb&e67c)z49S94QdW^nr znDyRzIkR)ZRKL((eK9%|AZz#e&e&q~W9_O{a$|?ekpN%iHx4V%5l7-Sb&i+s>KDYq*U<;9L0(hZeZ& z7HuuEjB;bTd?R<$!XV=Q>|4d#GaB?h=0d!*U}tqYs(YKy+^q~}X4mX7JYB6L$;zr8 z?yU^c_Vv5R3Jo11zVLlAzAwN?TH)F7EPrGC%MOPXlPx)Sewpd2*!x<6XPARjs*;&d z4l+F&V8ZcJ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eY@N&_+>-x$uayxVHt73?noV-@v zQ&alPwJ_IsU)>^_)Og__?Qn`V51s0UzC^`*0xU4=hm5MX)_Xc`!c9S>1U0f}faVvU z4ufaD7-)QiJ$_a}Pdu3%JI+uUTZ?-(>o<1%jCANo!*u_Xzzr`71^s=P3jPtkh+sNB zpI{*q_w(tT#<}m3Q5*{S1OVUyF+fq{?k6qBH^o@B>wr#iDr-4?HH^877(!sFX9A!H z+XZ`G$l;Wp9v)K^{rM&UAW}(y`H2nX^ssl-;!qGU)Jac{1H=@h)l??tWMx&r23QA{ zvR0mXv)i2v3t|Dox#e{C?V0Cf_g{UP*$cP+9tEUlSN7C!$o4$@79psu5Yj{SgpRMq z+jP>)MP!+c6i!A_h5_5B4tel-gfe=0hD$_h29$(saYN|EzbBEfoN}}6j~9^gejV9* zO9@9fM4`O>^Nk`6jUA>RiwOy2ey+ZpetYK_+fy{d?{;5w6ts{8%zy-LR3VzaXyGmc zfTA7a>X}ts*Dtpx`%-6wSqH)7s+ezeJ2Bo7JMgPFata{qW_XL@`HC=b>Q&j^YhZZY zk;8k$!&kpHqCYM6U#^+6Ixvrv& z=Ryx=MPHe4koicrwg;+3hHcxQv{{ subform.problem }} {{ subform.body }} {{ subform.cislo_body }} - + Smazat {% endfor %} - - + Přidat hodnocení
+ - + From d61f723636ac4cc1f0f9fbef2204b6b16cc235e2 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 30 Mar 2021 19:41:08 +0200 Subject: [PATCH 07/11] =?UTF-8?q?Odevzd=C3=A1v=C3=A1tko:=20fix=20JS=20form?= =?UTF-8?q?setu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/templates/seminar/odevzdavatko/detail.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seminar/templates/seminar/odevzdavatko/detail.html b/seminar/templates/seminar/odevzdavatko/detail.html index 3bd4e93b..dadeff41 100644 --- a/seminar/templates/seminar/odevzdavatko/detail.html +++ b/seminar/templates/seminar/odevzdavatko/detail.html @@ -26,8 +26,9 @@ function deleteForm(prefix, btn) { if (total >= 1){ btn.closest('tr').remove(); var forms = $('.hodnoceni'); - $('#id_' + prefix + '-TOTAL_FORMS').val(forms.length); - for (var i=0, formCount=forms.length; i