sandwitches 1.4.0__py3-none-any.whl → 1.4.2__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.
@@ -0,0 +1,15 @@
1
+ # Generated by Django 6.0 on 2026-01-03 15:24
2
+
3
+ from django.db import migrations
4
+
5
+
6
+ class Migration(migrations.Migration):
7
+ dependencies = [
8
+ ("sandwitches", "0007_alter_rating_score"),
9
+ ]
10
+
11
+ operations = [
12
+ migrations.DeleteModel(
13
+ name="Profile",
14
+ ),
15
+ ]
sandwitches/tasks.py CHANGED
@@ -104,12 +104,12 @@ def send_emails(recipe_id, emails):
104
104
  html_content = html_content_fmt % context_data
105
105
 
106
106
  subject = _("Sandwitches - New Recipe: %(title)s by %(uploaded_by)s") % context_data
107
-
108
- msg = EmailMultiAlternatives(
109
- subject=subject,
110
- body=wrapped_message,
111
- from_email=from_email,
112
- bbc=emails,
113
- )
114
- msg.attach_alternative(html_content, "text/html")
115
- msg.send()
107
+ for email in emails:
108
+ msg = EmailMultiAlternatives(
109
+ subject=subject,
110
+ body=wrapped_message,
111
+ from_email=from_email,
112
+ to=[email],
113
+ )
114
+ msg.attach_alternative(html_content, "text/html")
115
+ msg.send()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sandwitches
3
- Version: 1.4.0
3
+ Version: 1.4.2
4
4
  Summary: Add your description here
5
5
  Author: Martyn van Dijke
6
6
  Author-email: Martyn van Dijke <martijnvdijke600@gmail.com>
@@ -12,11 +12,12 @@ sandwitches/migrations/0004_add_uploaded_by.py,sha256=gZawakGU-H0Abnn2Bw_Mswy9ng
12
12
  sandwitches/migrations/0005_historicalrecipe_uploaded_by.py,sha256=xmYDXgBxjrQkbEtorQlDzW0K1Z70UNxRrUk75WjYdEI,766
13
13
  sandwitches/migrations/0006_profile.py,sha256=gzmxZWXmjldimYRdovuNouc2Y2idihg8UvEaU0ad_Ds,1558
14
14
  sandwitches/migrations/0007_alter_rating_score.py,sha256=hHdJqjTwq2afcBi7TRSBofAjedDxu5YybbXLhUoMGUg,588
15
+ sandwitches/migrations/0008_delete_profile.py,sha256=-vO3WqftSpDBic4Kx5HygmOhVtGEp60cihtv2TVpsWg,297
15
16
  sandwitches/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
17
  sandwitches/models.py,sha256=QWjaO7ONT_vsvEt_jJHJ6glUKtASC1ac_osIadhwbYM,5766
17
18
  sandwitches/settings.py,sha256=hSwtZ_OSvwl8QIMs6wnNMLGvMrPADrQt1Swc5xOOcCg,5701
18
19
  sandwitches/storage.py,sha256=HIiOEDa_LhpsbhCUBNO-SlCZDUJOoANUbyDIbspEcoE,2325
19
- sandwitches/tasks.py,sha256=vB8HvaL4ooxowGOBxB-D2nOrKYfgc6kNaaTrEjpq1eY,3604
20
+ sandwitches/tasks.py,sha256=8jHQougtywhsDyd-6W4VV-x5PCwwhNG3J99E0hzy_MA,3660
20
21
  sandwitches/templates/base.html,sha256=C9tUPfMKRvvdMqdDpE8ww21DH25bNktcVIwdrDEhajw,570
21
22
  sandwitches/templates/base_pico.html,sha256=yeWlWlrCfI9yVLStSyODvcNtSmxXvWm4SZORZN-31R4,8273
22
23
  sandwitches/templates/detail.html,sha256=arspmECgF-EuNDOv1shtIlj41oJE1V_tjbn-B8jjO5s,4653
@@ -29,6 +30,6 @@ sandwitches/templatetags/markdown_extras.py,sha256=0ibmRzxE3r85x4k7kK71R-9UT0Cge
29
30
  sandwitches/urls.py,sha256=maKaIDfb_kNmMwrpS495TymuFnJJ6fbLoi5QRLjrFds,1582
30
31
  sandwitches/views.py,sha256=7ukWJHBflhAM02j_ZGuoqlBEgN2QnIIq4VhtnvRU1rM,5194
31
32
  sandwitches/wsgi.py,sha256=Eyncpnahq_4s3Lr9ruB-R3Lu9j9zBXqgPbUj7qhIbwU,399
32
- sandwitches-1.4.0.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
33
- sandwitches-1.4.0.dist-info/METADATA,sha256=duMbwNj-fXPy-ZnDv9KnvPV6-OeqdfJyvnqzlGCeTng,775
34
- sandwitches-1.4.0.dist-info/RECORD,,
33
+ sandwitches-1.4.2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
34
+ sandwitches-1.4.2.dist-info/METADATA,sha256=p_b9GRyDSmtPb8WCFGs1pzj1vxBPyk1o9idnldR6NfQ,775
35
+ sandwitches-1.4.2.dist-info/RECORD,,