This website works better with JavaScript.
Home
Help
Register
Sign In
alpcentaur
/
foerderbarometer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
5
Wiki
Activity
Browse Source
minor typo fixed. TODO with known bug added
master
Benni Baermann
3 years ago
parent
ea5aa5a1f5
commit
b5e0dbdd44
2 changed files
with
6 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
TODO
+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! UNKN
W
ON CHOICE TYPE! {choice}
'
)
return
HttpResponse
(
f
'
ERROR! UNKNO
W
N CHOICE TYPE! {choice}
'
)
return
False
return
False
@login_required
@login_required
Write
Preview
Loading…
Cancel
Save