From b5e0dbdd44df1029400bfbdac2a128e47092046d Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 4 Jan 2021 11:24:20 +0100 Subject: [PATCH] minor typo fixed. TODO with known bug added --- TODO | 5 +++++ input/views.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..021b762 --- /dev/null +++ b/TODO @@ -0,0 +1,5 @@ +known bugs: + +- there is html-code in some plain text mails, because they use + models.TYPE_CHOICES, which is in html, because it is mainly used for the + website side of things. diff --git a/input/views.py b/input/views.py index e40ca21..42e6a96 100644 --- a/input/views.py +++ b/input/views.py @@ -27,7 +27,7 @@ def auth_deny(choice,pk,auth): elif choice == 'IFG': IFG.set_granted(pk,auth) else: - return HttpResponse(f'ERROR! UNKNWON CHOICE TYPE! {choice}') + return HttpResponse(f'ERROR! UNKNOWN CHOICE TYPE! {choice}') return False @login_required