codeforlife-portal 6.44.2__py2.py3-none-any.whl → 6.44.4__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 -8
- {codeforlife_portal-6.44.2.dist-info → codeforlife_portal-6.44.4.dist-info}/METADATA +2 -2
- {codeforlife_portal-6.44.2.dist-info → codeforlife_portal-6.44.4.dist-info}/RECORD +8 -8
- portal/__init__.py +1 -1
- portal/templates/portal/reset_password_email_sent.html +15 -7
- {codeforlife_portal-6.44.2.dist-info → codeforlife_portal-6.44.4.dist-info}/LICENSE.md +0 -0
- {codeforlife_portal-6.44.2.dist-info → codeforlife_portal-6.44.4.dist-info}/WHEEL +0 -0
- {codeforlife_portal-6.44.2.dist-info → codeforlife_portal-6.44.4.dist-info}/top_level.txt +0 -0
|
@@ -10,15 +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 (
|
|
18
|
-
unverified_returning_userprofile
|
|
19
|
-
) in unverified_returning_userprofiles.iterator(chunk_size=1000):
|
|
20
|
-
unverified_returning_userprofile.is_verified = True
|
|
21
|
-
unverified_returning_userprofile.save()
|
|
15
|
+
).update(is_verified=True)
|
|
22
16
|
|
|
23
17
|
|
|
24
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.4
|
|
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.4
|
|
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=-lI-ZgjvQrCkpiM7hjvY9ScoT2ABAjdCrwMGjYbzxpk,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
|
|
@@ -457,7 +457,7 @@ portal/templates/portal/register.html,sha256=9AFNejCCcG2VwNCJ8AU5r3Wk0u_ftK_NbVf
|
|
|
457
457
|
portal/templates/portal/reset_password.html,sha256=YzsREz5D2OwhicMLahVOVDXiNDxoHlPqU5iu96i36W0,1373
|
|
458
458
|
portal/templates/portal/reset_password_confirm.html,sha256=jPHSDatezRXzCG4zH_5BQPWAxLblidqro0hzvsH54ho,3499
|
|
459
459
|
portal/templates/portal/reset_password_done.html,sha256=rpzN3svZne5H2FS3TJaGnHypRj2KX-SRS6DbFQkgLf0,667
|
|
460
|
-
portal/templates/portal/reset_password_email_sent.html,sha256=
|
|
460
|
+
portal/templates/portal/reset_password_email_sent.html,sha256=nqZYSa34zacTmLJOe4zdyLM0u7bO2Wje1zTLTOtHvr8,923
|
|
461
461
|
portal/templates/portal/teach.html,sha256=5Ua6l2H6dBIXjKjMTUGkM92SnBnAXTBRpM6sKlwnrUk,8724
|
|
462
462
|
portal/templates/portal/terms.html,sha256=SO8ruLF2kdYpOinxlVx1CHfPNgphemX4wvWJ9-W6Nj4,29155
|
|
463
463
|
portal/templates/portal/login/independent_student.html,sha256=G4u82m0lko4yQvqRDMger5p63A6KtFI_bsEOsQWlyJw,1777
|
|
@@ -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.4.dist-info/LICENSE.md,sha256=9AbRlCDqD2D1tPibimysFv3zg3AIc49-eyv9aEsyq9w,115
|
|
646
|
+
codeforlife_portal-6.44.4.dist-info/METADATA,sha256=01n40MUX_ICmWOiQHo0u_C_EAyOK8arKbaQ0mldDZgU,1137
|
|
647
|
+
codeforlife_portal-6.44.4.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
648
|
+
codeforlife_portal-6.44.4.dist-info/top_level.txt,sha256=8e5pdsuIoTqEAMqpelHBjGjLbffcBtgOoggmd2q7nMw,41
|
|
649
|
+
codeforlife_portal-6.44.4.dist-info/RECORD,,
|
portal/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "6.44.
|
|
1
|
+
__version__ = "6.44.4"
|
|
@@ -2,10 +2,18 @@
|
|
|
2
2
|
{% load static %}
|
|
3
3
|
|
|
4
4
|
{% block form_content %}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
<div id="reset_password_email_sent_page"></div>
|
|
6
|
+
<h4>Thank you</h4>
|
|
7
|
+
<h5>If you have entered a valid email address, you will receive a link to
|
|
8
|
+
reset your password. Make sure to check your <strong>spam</strong>.</h5>
|
|
9
|
+
<img class="background" title="Paper Plane" alt="Verification email sent"
|
|
10
|
+
src="{% static 'portal/img/paper_plane.png' %}">
|
|
11
|
+
<div>
|
|
12
|
+
<a target="_blank"
|
|
13
|
+
href="https://mail.google.com/mail/#search/from%3AOcado.Innovation.Ltd%40r1.dotdigital-email.com+subject%3APassword+reset+request"
|
|
14
|
+
class="button button--home button-email">Open in Gmail</a>
|
|
15
|
+
<a target="_blank" href="https://outlook.live.com/mail/" class="button button--home button-email">Open in
|
|
16
|
+
Outlook</a>
|
|
17
|
+
</div>
|
|
18
|
+
<p class="text-left"><a id="home_button" href="{% url 'home' %}">< back to homepage</a></p>
|
|
19
|
+
{% endblock form_content %}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|