Browse Source

minor typo fixed. TODO with known bug added

master
Benni Baermann 3 years ago
parent
commit
b5e0dbdd44
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      TODO
  2. +1
    -1
      input/views.py

+ 5
- 0
TODO View File

@ -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.

+ 1
- 1
input/views.py View File

@ -27,7 +27,7 @@ def auth_deny(choice,pk,auth):
elif choice == 'IFG': elif choice == 'IFG':
IFG.set_granted(pk,auth) IFG.set_granted(pk,auth)
else: else:
return HttpResponse(f'ERROR! UNKNWON CHOICE TYPE! {choice}')
return HttpResponse(f'ERROR! UNKNOWN CHOICE TYPE! {choice}')
return False return False
@login_required @login_required

Loading…
Cancel
Save