codeforlife-portal 8.9.6__py2.py3-none-any.whl → 8.9.7__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.

Potentially problematic release.


This version of codeforlife-portal might be problematic. Click here for more details.

@@ -107,6 +107,9 @@ class UserProfile(models.Model):
107
107
 
108
108
 
109
109
  class SchoolModelManager(models.Manager):
110
+ def get_original_queryset(self):
111
+ return super().get_queryset()
112
+
110
113
  # Filter out inactive schools by default
111
114
  def get_queryset(self):
112
115
  return super().get_queryset().filter(is_active=True)
@@ -165,6 +168,9 @@ class TeacherModelManager(models.Manager):
165
168
 
166
169
  return Teacher.objects.create(user=user_profile, new_user=user)
167
170
 
171
+ def get_original_queryset(self):
172
+ return super().get_queryset()
173
+
168
174
  # Filter out non active teachers by default
169
175
  def get_queryset(self):
170
176
  return super().get_queryset().filter(new_user__is_active=True)
@@ -228,6 +234,9 @@ class Teacher(models.Model):
228
234
 
229
235
 
230
236
  class SchoolTeacherInvitationModelManager(models.Manager):
237
+ def get_original_queryset(self):
238
+ return super().get_queryset()
239
+
231
240
  # Filter out inactive invitations by default
232
241
  def get_queryset(self):
233
242
  return super().get_queryset().filter(is_active=True)
@@ -298,6 +307,9 @@ class ClassModelManager(models.Manager):
298
307
  members.extend(c.students.all())
299
308
  return members
300
309
 
310
+ def get_original_queryset(self):
311
+ return super().get_queryset()
312
+
301
313
  # Filter out non active classes by default
302
314
  def get_queryset(self):
303
315
  return super().get_queryset().filter(is_active=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codeforlife-portal
3
- Version: 8.9.6
3
+ Version: 8.9.7
4
4
  Classifier: Programming Language :: Python
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Framework :: Django
@@ -14,7 +14,7 @@ Requires-Dist: botocore==1.36.26; python_version >= "3.8"
14
14
  Requires-Dist: celery[sqs]==5.4.0; python_version >= "3.8"
15
15
  Requires-Dist: certifi==2025.8.3; python_version >= "3.7"
16
16
  Requires-Dist: cffi==1.17.1; platform_python_implementation != "PyPy"
17
- Requires-Dist: cfl-common==8.9.6
17
+ Requires-Dist: cfl-common==8.9.7
18
18
  Requires-Dist: charset-normalizer==3.4.3; python_version >= "3.7"
19
19
  Requires-Dist: click==8.3.0; python_version >= "3.10"
20
20
  Requires-Dist: click-didyoumean==0.3.1; python_full_version >= "3.6.2"
@@ -88,7 +88,7 @@ Requires-Dist: attrs==25.4.0; python_version >= "3.9" and extra == "dev"
88
88
  Requires-Dist: black==25.9.0; python_version >= "3.9" and extra == "dev"
89
89
  Requires-Dist: certifi==2025.8.3; python_version >= "3.7" and extra == "dev"
90
90
  Requires-Dist: cffi==1.17.1; platform_python_implementation != "PyPy" and extra == "dev"
91
- Requires-Dist: cfl-common==8.9.6; extra == "dev"
91
+ Requires-Dist: cfl-common==8.9.7; extra == "dev"
92
92
  Requires-Dist: charset-normalizer==3.4.3; python_version >= "3.7" and extra == "dev"
93
93
  Requires-Dist: click==8.3.0; python_version >= "3.10" and extra == "dev"
94
94
  Requires-Dist: coverage[toml]==7.10.7; python_version >= "3.9" and extra == "dev"
@@ -6,7 +6,7 @@ cfl_common/common/apps.py,sha256=49UXZ3bSkFKvIEOL4zM7y1sAhccQJyRtsoOg5XVd_8Y,129
6
6
  cfl_common/common/context_processors.py,sha256=X0iuX5qu9kMWa7q8osE9CJ2LgM7pPOYQFGdjm8X3rk0,236
7
7
  cfl_common/common/csp_config.py,sha256=saeg9LbRr5xw7NDJPlt6fqi8Zz0vI8Rpc4VCS6oJNe8,2976
8
8
  cfl_common/common/mail.py,sha256=pIRfUMVoJWxdv74UqToj_0_pTVTC51z6QlFVLI3QBOw,6874
9
- cfl_common/common/models.py,sha256=JKPx3YeYTlmhuDteWBn6tfewajkK3z9ge95h8VGwh8M,18845
9
+ cfl_common/common/models.py,sha256=Qm-UHUR4Qbjn407HbA-YPFHQQk0qOZAsylukptnBXq0,19149
10
10
  cfl_common/common/permissions.py,sha256=gC6RQGZI2QDBbglx-xr_V4Hl2C2nf1V2_uPmEuoEcJo,2416
11
11
  cfl_common/common/utils.py,sha256=Nn2Npao9Uqad5Js_IdHwF-ow6wrPNpBLW4AO1LxoEBc,1727
12
12
  cfl_common/common/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -88,7 +88,7 @@ cfl_common/common/tests/utils/organisation.py,sha256=vNgKFtU3VPcWRnZfh82yCS90PLA
88
88
  cfl_common/common/tests/utils/student.py,sha256=PLd980iSlxmMoB8J3C2pVjNC5xHdVxfAkJXzhv_dRhg,3814
89
89
  cfl_common/common/tests/utils/teacher.py,sha256=KQ_NAl4yQqiX_zwcULQjkovc29JPhnkLR5Nk3Ljzbpg,2661
90
90
  cfl_common/common/tests/utils/user.py,sha256=NvLzZLVP4jy5Hn1iztOYF_BTQ9WsbSmuWMEzGzhAsRU,919
91
- codeforlife_portal-8.9.6.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
91
+ codeforlife_portal-8.9.7.dist-info/licenses/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
92
92
  deploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
93
  deploy/captcha.py,sha256=MbOBuGnbT_SOIltSjP1XMOLrfo1DldCilaVAEim0vM4,23
94
94
  deploy/views.py,sha256=7mY2zNPkaBFrlWGByJHp2zFqHIHSMc0YArjE_sFWMMU,131
@@ -113,7 +113,7 @@ example_project/portal_test_settings.py,sha256=_6EDMwnYH2yCukgiop0sobqShbB8tivO9
113
113
  example_project/settings.py,sha256=DQkHGjS-NYIPTCOnCD7QBeV7rxTNdIGqdC-qfTuA5qU,6278
114
114
  example_project/urls.py,sha256=FUTzHPlUS1O5kqMHjL5V4L552N2ln7uTDXcw9wjKUto,422
115
115
  example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
116
- portal/__init__.py,sha256=XDj47jERzO3r7ontQWXFtILyVTWXjYj3YvGx3ZVUhbU,22
116
+ portal/__init__.py,sha256=IeEuBSq7X9eSkMN64rmbHSWOHolF4GQc0qgz07MH-gg,22
117
117
  portal/admin.py,sha256=RKJizTF6dPJKmGPZw7nZUM0X8jkiTjgyKhLQxtvHJ0I,6148
118
118
  portal/app_settings.py,sha256=8P3r0ArkOzL_iVjoaLIHsNWG4uP1tT2z1kCUHPhAZ9s,714
119
119
  portal/backends.py,sha256=2Dss6_WoQwPuDzJUF1yEaTQTNG4eUrD12ujJQ5cp5Tc,812
@@ -636,7 +636,7 @@ portal/views/two_factor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
636
636
  portal/views/two_factor/core.py,sha256=Lk32z2SN2Pg0rRkK-N-LXMvXC1kKKsH3l692kiSDQ4E,964
637
637
  portal/views/two_factor/form.py,sha256=lnHNKI-BMlpncTuW3zUzjPaJJNuEra2I_nOam0eOKFY,257
638
638
  portal/views/two_factor/profile.py,sha256=SHSg_xHccE5PtD-OfuOkYhREYz_er4bj5ro1RjJ88Yw,393
639
- codeforlife_portal-8.9.6.dist-info/METADATA,sha256=rY5xQI9L3bVsp9iVJG04t6zLjVEllxu9zr_JryzDiL8,14304
640
- codeforlife_portal-8.9.6.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
641
- codeforlife_portal-8.9.6.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
642
- codeforlife_portal-8.9.6.dist-info/RECORD,,
639
+ codeforlife_portal-8.9.7.dist-info/METADATA,sha256=K0Iu9dXrOTYtNhVjxnHpZU31ladilvC6AZMvdxmR_8U,14304
640
+ codeforlife_portal-8.9.7.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
641
+ codeforlife_portal-8.9.7.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
642
+ codeforlife_portal-8.9.7.dist-info/RECORD,,
portal/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "8.9.6"
1
+ __version__ = "8.9.7"