minor typo fixed. TODO with known bug added

This commit is contained in:
Benni Baermann 2021-01-04 11:24:20 +01:00
parent ea5aa5a1f5
commit b5e0dbdd44
2 changed files with 6 additions and 1 deletions

5
TODO Normal file
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.

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