rapid-router 7.5.0__py2.py3-none-any.whl → 7.5.2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- game/__init__.py +1 -1
- game/permissions.py +0 -7
- {rapid_router-7.5.0.dist-info → rapid_router-7.5.2.dist-info}/METADATA +8 -8
- {rapid_router-7.5.0.dist-info → rapid_router-7.5.2.dist-info}/RECORD +7 -7
- {rapid_router-7.5.0.dist-info → rapid_router-7.5.2.dist-info}/WHEEL +0 -0
- {rapid_router-7.5.0.dist-info → rapid_router-7.5.2.dist-info}/licenses/LICENSE.md +0 -0
- {rapid_router-7.5.0.dist-info → rapid_router-7.5.2.dist-info}/top_level.txt +0 -0
game/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "7.5.
|
|
1
|
+
__version__ = "7.5.2"
|
game/permissions.py
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import logging
|
|
2
|
-
|
|
3
1
|
from rest_framework import permissions
|
|
4
2
|
|
|
5
|
-
LOGGER = logging.getLogger(__name__)
|
|
6
|
-
|
|
7
3
|
|
|
8
4
|
def _get_userprofile_school(userprofile):
|
|
9
5
|
if hasattr(userprofile, "teacher"):
|
|
@@ -11,9 +7,6 @@ def _get_userprofile_school(userprofile):
|
|
|
11
7
|
elif hasattr(userprofile, "student"):
|
|
12
8
|
return userprofile.student.class_field.teacher.school
|
|
13
9
|
else:
|
|
14
|
-
LOGGER.error(
|
|
15
|
-
f"Userprofile ID {userprofile.id} has no teacher or student attribute"
|
|
16
|
-
)
|
|
17
10
|
return None
|
|
18
11
|
|
|
19
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rapid-router
|
|
3
|
-
Version: 7.5.
|
|
3
|
+
Version: 7.5.2
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.12
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -8,7 +8,7 @@ License-File: LICENSE.md
|
|
|
8
8
|
Requires-Dist: asgiref==3.8.1; python_version >= "3.8"
|
|
9
9
|
Requires-Dist: asttokens==3.0.0; python_version >= "3.8"
|
|
10
10
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6"
|
|
11
|
-
Requires-Dist: cfl-common==8.6.
|
|
11
|
+
Requires-Dist: cfl-common==8.6.4
|
|
12
12
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7"
|
|
13
13
|
Requires-Dist: decorator==5.2.1; python_version >= "3.8"
|
|
14
14
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7"
|
|
@@ -22,7 +22,7 @@ Requires-Dist: django-phonenumber-field==8.0.0; python_version >= "3.8"
|
|
|
22
22
|
Requires-Dist: django-pipeline==4.0.0; python_version >= "3.9"
|
|
23
23
|
Requires-Dist: django-reverse-js==0.1.7; python_version >= "3.10"
|
|
24
24
|
Requires-Dist: django-two-factor-auth==1.17.0; python_version >= "3.8"
|
|
25
|
-
Requires-Dist: djangorestframework==3.
|
|
25
|
+
Requires-Dist: djangorestframework==3.16.0; python_version >= "3.9"
|
|
26
26
|
Requires-Dist: executing==2.2.0; python_version >= "3.8"
|
|
27
27
|
Requires-Dist: idna==3.10; python_version >= "3.6"
|
|
28
28
|
Requires-Dist: ipython==9.0.2; python_version >= "3.11"
|
|
@@ -53,7 +53,7 @@ Requires-Dist: sqlparse==0.5.3; python_version >= "3.8"
|
|
|
53
53
|
Requires-Dist: stack-data==0.6.3
|
|
54
54
|
Requires-Dist: tablib==3.7.0; python_version >= "3.9"
|
|
55
55
|
Requires-Dist: traitlets==5.14.3; python_version >= "3.8"
|
|
56
|
-
Requires-Dist: typing-extensions==4.13.
|
|
56
|
+
Requires-Dist: typing-extensions==4.13.1; python_version >= "3.8"
|
|
57
57
|
Requires-Dist: tzdata==2025.2; python_version >= "2"
|
|
58
58
|
Requires-Dist: urllib3==2.3.0; python_version >= "3.9"
|
|
59
59
|
Requires-Dist: wcwidth==0.2.13
|
|
@@ -63,11 +63,11 @@ Requires-Dist: asgiref==3.8.1; python_version >= "3.8" and extra == "dev"
|
|
|
63
63
|
Requires-Dist: attrs==25.3.0; python_version >= "3.8" and extra == "dev"
|
|
64
64
|
Requires-Dist: black==25.1.0; python_version >= "3.9" and extra == "dev"
|
|
65
65
|
Requires-Dist: certifi==2025.1.31; python_version >= "3.6" and extra == "dev"
|
|
66
|
-
Requires-Dist: cfl-common==8.6.
|
|
66
|
+
Requires-Dist: cfl-common==8.6.4; extra == "dev"
|
|
67
67
|
Requires-Dist: chardet==5.2.0; python_version >= "3.7" and extra == "dev"
|
|
68
68
|
Requires-Dist: charset-normalizer==3.4.1; python_version >= "3.7" and extra == "dev"
|
|
69
69
|
Requires-Dist: click==8.1.8; python_version >= "3.7" and extra == "dev"
|
|
70
|
-
Requires-Dist: codeforlife-portal==8.6.
|
|
70
|
+
Requires-Dist: codeforlife-portal==8.6.4; extra == "dev"
|
|
71
71
|
Requires-Dist: diff-match-patch==20241021; python_version >= "3.7" and extra == "dev"
|
|
72
72
|
Requires-Dist: django==5.1.8; python_version >= "3.10" and extra == "dev"
|
|
73
73
|
Requires-Dist: django-classy-tags==4.1.0; python_version >= "3.8" and extra == "dev"
|
|
@@ -86,7 +86,7 @@ Requires-Dist: django-selenium-clean==1.0.1; extra == "dev"
|
|
|
86
86
|
Requires-Dist: django-test-migrations==1.4.0; (python_version >= "3.9" and python_version < "4.0") and extra == "dev"
|
|
87
87
|
Requires-Dist: django-treebeard==4.7.1; python_version >= "3.8" and extra == "dev"
|
|
88
88
|
Requires-Dist: django-two-factor-auth==1.17.0; python_version >= "3.8" and extra == "dev"
|
|
89
|
-
Requires-Dist: djangorestframework==3.
|
|
89
|
+
Requires-Dist: djangorestframework==3.16.0; python_version >= "3.9" and extra == "dev"
|
|
90
90
|
Requires-Dist: execnet==2.1.1; python_version >= "3.8" and extra == "dev"
|
|
91
91
|
Requires-Dist: h11==0.14.0; python_version >= "3.7" and extra == "dev"
|
|
92
92
|
Requires-Dist: idna==3.10; python_version >= "3.6" and extra == "dev"
|
|
@@ -128,7 +128,7 @@ Requires-Dist: sqlparse==0.5.3; python_version >= "3.8" and extra == "dev"
|
|
|
128
128
|
Requires-Dist: tablib==3.7.0; python_version >= "3.9" and extra == "dev"
|
|
129
129
|
Requires-Dist: trio==0.29.0; python_version >= "3.9" and extra == "dev"
|
|
130
130
|
Requires-Dist: trio-websocket==0.12.2; python_version >= "3.8" and extra == "dev"
|
|
131
|
-
Requires-Dist: typing-extensions==4.13.
|
|
131
|
+
Requires-Dist: typing-extensions==4.13.1; python_version >= "3.8" and extra == "dev"
|
|
132
132
|
Requires-Dist: tzdata==2025.2; python_version >= "2" and extra == "dev"
|
|
133
133
|
Requires-Dist: urllib3==2.3.0; python_version >= "3.9" and extra == "dev"
|
|
134
134
|
Requires-Dist: websocket-client==1.8.0; python_version >= "3.8" and extra == "dev"
|
|
@@ -3,7 +3,7 @@ example_project/rapid_router_test_settings.py,sha256=iD6_C8_mMaUxwFgRitKmJfkgUcU
|
|
|
3
3
|
example_project/settings.py,sha256=Hh4TrT4g7tuhPWFaJTxJcm-vKqGtSSYLfvRHY4P-HSY,4296
|
|
4
4
|
example_project/urls.py,sha256=XHug_cpNy21yOef3E1-wWT5VkTuxpl6ZXIlCj6jDjWA,422
|
|
5
5
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
6
|
-
game/__init__.py,sha256=
|
|
6
|
+
game/__init__.py,sha256=zJHI_1BT5Zg6AK8VlyV3hf6_XhYzkbqK6kEhdCIDxeI,22
|
|
7
7
|
game/admin.py,sha256=BLwwaqQYuqmMdwqnvhdan19iGxdcoBX4CXFk_ROG5-M,1431
|
|
8
8
|
game/app_settings.py,sha256=mlg-1AiP7AR5JNOHAXXLuCrYWaZMmSihvSYk9c2c8YY,857
|
|
9
9
|
game/cache.py,sha256=dtOiFl6Z4I2Q9-8Hz24ZI-5C0asXYSQhF2Be5q74N8g,2227
|
|
@@ -13,7 +13,7 @@ game/forms.py,sha256=7J9Ivn97qw4FC5B7WonDzi4Q5WHhF1I62eQWorUDv_o,2143
|
|
|
13
13
|
game/level_management.py,sha256=wAKbu8JAVTHoM6YD6L3c7tPityKtWLGRNG32OX5SYRw,6289
|
|
14
14
|
game/messages.py,sha256=7XLfcikFDxuR0LVCc9P8GhuLrWzxiquhhDdHSAAU95w,102526
|
|
15
15
|
game/models.py,sha256=h_NS_6LL8uFoKVjg2CCZ53sE-FBv9QWM_dhCh4fIr5E,11446
|
|
16
|
-
game/permissions.py,sha256=
|
|
16
|
+
game/permissions.py,sha256=3dWQ_YYMNVm6OhI9gyZe36EiqsoyU5RzyxdIlfbZ2pM,7624
|
|
17
17
|
game/python_den_urls.py,sha256=fO2U06_woa3dkdmWhYg6zR9hrqFyP2Cp9e5l-5dUEmc,637
|
|
18
18
|
game/random_road.py,sha256=1mCsfJJd5H3x6A4ZPtjPEMMA24kzXVZQJMb5DjlE95k,15458
|
|
19
19
|
game/serializers.py,sha256=LiNXQVaUcW-Yzn4-TX6IOephTDMFyIvoqMUpDX3aqAY,5628
|
|
@@ -800,8 +800,8 @@ game/views/level_selection.py,sha256=UI345nDv5iTRQ7VttiLKLzezJlaSlaKOnhlALZgMU9Q
|
|
|
800
800
|
game/views/level_solutions.py,sha256=lfwLFvw4gFuptTkL2J_ibhnuiysl3Yao15sn2qoQlcE,97194
|
|
801
801
|
game/views/scoreboard.py,sha256=Lxy7XtoG7VwWpTb-c22BGC6eN8uCmmOnQ2qjY-oXA3k,16914
|
|
802
802
|
game/views/scoreboard_csv.py,sha256=yx4tOwx5QsHyU1S1BUPUqRBWIh5idq8QVtBID-NqZto,1768
|
|
803
|
-
rapid_router-7.5.
|
|
804
|
-
rapid_router-7.5.
|
|
805
|
-
rapid_router-7.5.
|
|
806
|
-
rapid_router-7.5.
|
|
807
|
-
rapid_router-7.5.
|
|
803
|
+
rapid_router-7.5.2.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
804
|
+
rapid_router-7.5.2.dist-info/METADATA,sha256=Q-Qdlx0dk__d6m-y0Lqarpap7EAiG0rojDbWgrW4E2I,9136
|
|
805
|
+
rapid_router-7.5.2.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
|
|
806
|
+
rapid_router-7.5.2.dist-info/top_level.txt,sha256=rKP4ryr1t8Wcnx8grJHDViM3T5cMYH_0vygDjC04ArA,21
|
|
807
|
+
rapid_router-7.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|