-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Upgrade to Django 4 * Install latest portal
- Loading branch information
1 parent
3aa339d
commit 4b7608a
Showing
9 changed files
with
612 additions
and
863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
from django.conf.urls import url | ||
from django.urls import re_path | ||
|
||
from game.views.level import play_default_python_level, start_python_episode | ||
from game.views.level_selection import python_levels | ||
from game.views.scoreboard import python_scoreboard | ||
|
||
urlpatterns = [ | ||
url(r"^$", python_levels, name="python_levels"), | ||
url( | ||
re_path(r"^$", python_levels, name="python_levels"), | ||
re_path( | ||
r"^(?P<level_name>[A-Z0-9]+)/$", | ||
play_default_python_level, | ||
name="play_python_default_level", | ||
), | ||
url( | ||
re_path( | ||
r"^episode/(?P<episodeId>[0-9]+)/$", | ||
start_python_episode, | ||
name="start_python_episode", | ||
), | ||
url(r"^scoreboard/$", python_scoreboard, name="python_scoreboard"), | ||
re_path(r"^scoreboard/$", python_scoreboard, name="python_scoreboard"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.