codeforlife-portal 6.44.1__py2.py3-none-any.whl → 6.44.3__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.
- cfl_common/common/migrations/0051_verify_returning_users.py +2 -6
- {codeforlife_portal-6.44.1.dist-info → codeforlife_portal-6.44.3.dist-info}/METADATA +2 -2
- {codeforlife_portal-6.44.1.dist-info → codeforlife_portal-6.44.3.dist-info}/RECORD +7 -7
- portal/__init__.py +1 -1
- {codeforlife_portal-6.44.1.dist-info → codeforlife_portal-6.44.3.dist-info}/LICENSE.md +0 -0
- {codeforlife_portal-6.44.1.dist-info → codeforlife_portal-6.44.3.dist-info}/WHEEL +0 -0
- {codeforlife_portal-6.44.1.dist-info → codeforlife_portal-6.44.3.dist-info}/top_level.txt +0 -0
|
@@ -10,13 +10,9 @@ def verify_returning_users(apps: Apps, *args):
|
|
|
10
10
|
"""
|
|
11
11
|
UserProfile = apps.get_model("common", "UserProfile")
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
UserProfile.objects.filter(
|
|
14
14
|
user__last_login__isnull=False, is_verified=False
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
for unverified_returning_userprofile in unverified_returning_userprofiles:
|
|
18
|
-
unverified_returning_userprofile.is_verified = True
|
|
19
|
-
unverified_returning_userprofile.save()
|
|
15
|
+
).update(is_verified=True)
|
|
20
16
|
|
|
21
17
|
|
|
22
18
|
class Migration(migrations.Migration):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: codeforlife-portal
|
|
3
|
-
Version: 6.44.
|
|
3
|
+
Version: 6.44.3
|
|
4
4
|
Classifier: Programming Language :: Python
|
|
5
5
|
Classifier: Programming Language :: Python :: 3.8
|
|
6
6
|
Classifier: Framework :: Django
|
|
@@ -24,7 +24,7 @@ Requires-Dist: django-classy-tags ==2.0.0
|
|
|
24
24
|
Requires-Dist: libsass ==0.23.0
|
|
25
25
|
Requires-Dist: phonenumbers ==8.12.12
|
|
26
26
|
Requires-Dist: more-itertools ==8.7.0
|
|
27
|
-
Requires-Dist: cfl-common ==6.44.
|
|
27
|
+
Requires-Dist: cfl-common ==6.44.3
|
|
28
28
|
Requires-Dist: django-ratelimit ==3.0.1
|
|
29
29
|
Requires-Dist: django-preventconcurrentlogins ==0.8.2
|
|
30
30
|
Requires-Dist: django-csp ==3.7
|
|
@@ -64,7 +64,7 @@ cfl_common/common/migrations/0047_delete_school_postcode.py,sha256=GPV0hLfXmbPpx
|
|
|
64
64
|
cfl_common/common/migrations/0048_unique_school_names.py,sha256=pu5xiuesvFNGngD-hl0OQ6Gi2r6pEY9fPCayKyb9n04,1433
|
|
65
65
|
cfl_common/common/migrations/0049_anonymise_orphan_users.py,sha256=tw9xMrDMRPDCO8HWjBVlnQF8r1YVCKZnVr2wZ3He6og,847
|
|
66
66
|
cfl_common/common/migrations/0050_anonymise_orphan_schools.py,sha256=_KCkSkoObTpLplX6gXvlV3JXpddn7neyJEa8YKFWeW0,869
|
|
67
|
-
cfl_common/common/migrations/0051_verify_returning_users.py,sha256=
|
|
67
|
+
cfl_common/common/migrations/0051_verify_returning_users.py,sha256=WMpoTA24WgimLEVmKXuPqZ3aZdClRhY5vuGtYseeJp0,758
|
|
68
68
|
cfl_common/common/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
69
69
|
cfl_common/common/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
cfl_common/common/tests/test_migration_aimmo_characters.py,sha256=pdCCsns90Qz05QqmaBUYK18jKe9aP-symtZjkKG4rag,1079
|
|
@@ -105,7 +105,7 @@ example_project/portal_test_settings.py,sha256=frp_XMpd-z1g3VFCRxB2w7AaFW2ivRVKn
|
|
|
105
105
|
example_project/settings.py,sha256=XRZZvASoIl5a9xe3masTq_CUBleuJq9ByHx8f_e2UFc,5613
|
|
106
106
|
example_project/urls.py,sha256=OVeRQ-TCpzHISBRuzqD0yd3ewF7H5U3c-f2p2alfUD0,430
|
|
107
107
|
example_project/wsgi.py,sha256=U1W6WzZxZaIdYZ5tks7w9fqp5WS5qvn2iThsVcskrWw,829
|
|
108
|
-
portal/__init__.py,sha256=
|
|
108
|
+
portal/__init__.py,sha256=hfEK_3fvnBFcjuwh337Es8bbq_oxNalOmzeNmfYLuhw,23
|
|
109
109
|
portal/admin.py,sha256=on1-zNRnZvf2cwBN6GVRVYRhkaksrCgfzX8XPWtkvz8,6062
|
|
110
110
|
portal/app_settings.py,sha256=DhWLQOwM0zVOXE3O5TNKbMM9K6agfLuCsHOdr1J7xEI,651
|
|
111
111
|
portal/backends.py,sha256=2Dss6_WoQwPuDzJUF1yEaTQTNG4eUrD12ujJQ5cp5Tc,812
|
|
@@ -642,8 +642,8 @@ portal/views/two_factor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
|
642
642
|
portal/views/two_factor/core.py,sha256=O_wcBeFqdPYSGNGv-pT_vbs5-Dj1Z-Jfkd6f9-E5yZI,760
|
|
643
643
|
portal/views/two_factor/form.py,sha256=lnHNKI-BMlpncTuW3zUzjPaJJNuEra2I_nOam0eOKFY,257
|
|
644
644
|
portal/views/two_factor/profile.py,sha256=tkl_ludo8arMtd5LKNmohM66vpC_YQiP-0nspTSJiJ4,383
|
|
645
|
-
codeforlife_portal-6.44.
|
|
646
|
-
codeforlife_portal-6.44.
|
|
647
|
-
codeforlife_portal-6.44.
|
|
648
|
-
codeforlife_portal-6.44.
|
|
649
|
-
codeforlife_portal-6.44.
|
|
645
|
+
codeforlife_portal-6.44.3.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
646
|
+
codeforlife_portal-6.44.3.dist-info/METADATA,sha256=q56jKCUx9kPhKf8HUYyC8IqMcLHz9xNNydZynZE1_Yw,1137
|
|
647
|
+
codeforlife_portal-6.44.3.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
648
|
+
codeforlife_portal-6.44.3.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
|
|
649
|
+
codeforlife_portal-6.44.3.dist-info/RECORD,,
|
portal/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "6.44.
|
|
1
|
+
__version__ = "6.44.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|