Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BDE
Note Kfet 2015 django
Commits
18b23061
Commit
18b23061
authored
Aug 27, 2019
by
raida
Browse files
Fix bug when we come grom wei_1a
parent
23395e0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
note/views.py
View file @
18b23061
...
...
@@ -1664,6 +1664,7 @@ def WEI1A(request, sock, kwargs):
return
(
variables
,
"note/wei_1a.html"
)
else
:
variables
[
"succes"
]
=
True
variables
[
"liste"
]
=
algo1a
.
test
(
True
,
[],
1
)
return
(
variables
,
"note/page_form.html"
)
else
:
...
...
@@ -1713,7 +1714,6 @@ def WEI1Aalgo(request, sock, kwargs):
elif
request
.
method
==
"POST"
:
separator
=
"#"
if
request
.
session
[
"quest"
]
!=
""
else
""
request
.
session
[
"quest"
]
+=
separator
+
request
.
POST
.
get
(
"reponse"
)
variables
[
"liste"
]
=
algo1a
.
test
(
True
,
request
.
session
[
"quest"
].
split
(
"#"
),
1
)
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment