From d2ffadf96a718b741b629a636d4fbd7777f07369 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Mon, 20 Nov 2023 21:26:43 +0000 Subject: [PATCH] delete some task stuffs --- fet2020/intern/admin.py | 1 - fet2020/templates/intern/task_create.html | 60 ------------------- .../templates/intern/topic/topic_detail.html | 3 - 3 files changed, 64 deletions(-) delete mode 100644 fet2020/templates/intern/task_create.html diff --git a/fet2020/intern/admin.py b/fet2020/intern/admin.py index d15a42d4..15fb3a76 100644 --- a/fet2020/intern/admin.py +++ b/fet2020/intern/admin.py @@ -114,7 +114,6 @@ class TopicAdmin(admin.ModelAdmin): "fields": ( "title", "topic_group", - "task_list", "archive", "description", ) diff --git a/fet2020/templates/intern/task_create.html b/fet2020/templates/intern/task_create.html deleted file mode 100644 index d16cb036..00000000 --- a/fet2020/templates/intern/task_create.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends 'base.html' %} - -{% block title %}Task hinzufügen{% endblock %} - -{% block content %} - -
-

Task hinzufügen

-
-
- {% csrf_token %} - - {% if form.non_field_errors %} -
- -

Fehler:

-
{{ form.non_field_errors }}
-
- {% endif %} - - - - - - - - - - -
-
-
-{% endblock %} diff --git a/fet2020/templates/intern/topic/topic_detail.html b/fet2020/templates/intern/topic/topic_detail.html index 0a1aedfa..46b0a21f 100644 --- a/fet2020/templates/intern/topic/topic_detail.html +++ b/fet2020/templates/intern/topic/topic_detail.html @@ -33,9 +33,6 @@
Thema bearbeiten - {% if topic.task_list %} - Task hinzufügen - {% endif %}