sandwitches 1.4.0__tar.gz → 1.4.2__tar.gz

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.
Files changed (35) hide show
  1. {sandwitches-1.4.0 → sandwitches-1.4.2}/PKG-INFO +1 -1
  2. {sandwitches-1.4.0 → sandwitches-1.4.2}/pyproject.toml +1 -1
  3. sandwitches-1.4.2/src/sandwitches/migrations/0008_delete_profile.py +15 -0
  4. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/tasks.py +9 -9
  5. {sandwitches-1.4.0 → sandwitches-1.4.2}/README.md +0 -0
  6. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/__init__.py +0 -0
  7. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/admin.py +0 -0
  8. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/api.py +0 -0
  9. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/asgi.py +0 -0
  10. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/forms.py +0 -0
  11. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/locale/nl/LC_MESSAGES/django.mo +0 -0
  12. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/locale/nl/LC_MESSAGES/django.po +0 -0
  13. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0001_initial.py +0 -0
  14. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0002_historicalrecipe.py +0 -0
  15. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0003_rating.py +0 -0
  16. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0004_add_uploaded_by.py +0 -0
  17. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0005_historicalrecipe_uploaded_by.py +0 -0
  18. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0006_profile.py +0 -0
  19. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/0007_alter_rating_score.py +0 -0
  20. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/migrations/__init__.py +0 -0
  21. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/models.py +0 -0
  22. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/settings.py +0 -0
  23. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/storage.py +0 -0
  24. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/base.html +0 -0
  25. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/base_pico.html +0 -0
  26. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/detail.html +0 -0
  27. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/form.html +0 -0
  28. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/index.html +0 -0
  29. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/setup.html +0 -0
  30. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templates/signup.html +0 -0
  31. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templatetags/__init__.py +0 -0
  32. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/templatetags/markdown_extras.py +0 -0
  33. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/urls.py +0 -0
  34. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/views.py +0 -0
  35. {sandwitches-1.4.0 → sandwitches-1.4.2}/src/sandwitches/wsgi.py +0 -0
@@ -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>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sandwitches"
3
- version = "1.4.0"
3
+ version = "1.4.2"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -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
+ ]
@@ -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()
File without changes