Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fja
eval
Commits
d7324a1b
Commit
d7324a1b
authored
Jan 06, 2021
by
Vladimír Štill
Browse files
evalweb: Prefix pages with reg
parent
f4da814b
Changes
2
Hide whitespace changes
Inline
Side-by-side
evalweb/__init__.py
View file @
d7324a1b
...
...
@@ -31,4 +31,4 @@ def create_app(test_config=None):
app
.
register_blueprint
(
evalweb
.
bp
)
app
.
add_url_rule
(
'/compare'
,
endpoint
=
'index'
)
return
app
\ No newline at end of file
return
app
evalweb/evalweb.py
View file @
d7324a1b
...
...
@@ -6,7 +6,7 @@ from evalweb.web_checker import WebChecker, Language
from
evalweb.examples
import
examples
,
convert_examples
bp
=
Blueprint
(
'eval'
,
__name__
,
url_prefix
=
'/'
)
bp
=
Blueprint
(
'eval'
,
__name__
,
url_prefix
=
'/
reg
'
)
# radiobuttons: student task
tasks
=
{
'DFA'
:
'DFA'
,
...
...
@@ -133,4 +133,4 @@ def userref():
@
bp
.
route
(
'/about'
)
def
about
():
return
render_template
(
'about.html'
)
\ No newline at end of file
return
render_template
(
'about.html'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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