sandwitches 2.4.0__py3-none-any.whl → 2.5.0__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.
- sandwitches/admin.py +10 -2
- sandwitches/forms.py +78 -13
- sandwitches/migrations/0015_order_completed_alter_order_status_and_more.py +56 -0
- sandwitches/migrations/0016_user_theme.py +21 -0
- sandwitches/migrations/0017_setting_gotify_token_setting_gotify_url.py +31 -0
- sandwitches/models.py +47 -2
- sandwitches/tasks.py +31 -1
- sandwitches/templates/admin/admin_base.html +0 -3
- sandwitches/templates/admin/partials/order_rows.html +1 -1
- sandwitches/templates/admin/recipe_form.html +113 -18
- sandwitches/templates/base.html +1 -1
- sandwitches/templates/base_beer.html +0 -1
- sandwitches/templates/community.html +111 -14
- sandwitches/templates/components/navbar.html +0 -6
- sandwitches/templates/components/side_menu.html +4 -0
- sandwitches/templates/components/user_menu.html +1 -0
- sandwitches/templates/order_detail.html +68 -0
- sandwitches/templates/profile.html +91 -0
- sandwitches/templates/settings.html +53 -0
- sandwitches/templates/signup.html +0 -12
- sandwitches/urls.py +2 -0
- sandwitches/views.py +74 -1
- {sandwitches-2.4.0.dist-info → sandwitches-2.5.0.dist-info}/METADATA +1 -1
- {sandwitches-2.4.0.dist-info → sandwitches-2.5.0.dist-info}/RECORD +25 -21
- sandwitches/templates/components/language_dialog.html +0 -26
- {sandwitches-2.4.0.dist-info → sandwitches-2.5.0.dist-info}/WHEEL +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
sandwitches/__init__.py,sha256=YTDsQDSdJmxV2Z0dTbBqZhuJRuXcNLSKL0SX73Lu2u8,195
|
|
2
|
-
sandwitches/admin.py,sha256=-
|
|
2
|
+
sandwitches/admin.py,sha256=-4QA5InEvLHyb6VFAGKapWbJO9mXdiV4GeQcGsM4xlI,2510
|
|
3
3
|
sandwitches/api.py,sha256=ruD5QeOPY-l9PvkJQiaOYoI0sRARDpqpFrFDgBxo9cQ,6389
|
|
4
4
|
sandwitches/asgi.py,sha256=cygnXdXSSVspM7ZXuj47Ef6oz7HSTw4D7BPzgE2PU5w,399
|
|
5
5
|
sandwitches/feeds.py,sha256=iz1d11dV0utA0ZNsB7VIAp0h8Zr5mFNSKJWHbw_j6YM,683
|
|
6
|
-
sandwitches/forms.py,sha256=
|
|
6
|
+
sandwitches/forms.py,sha256=yTiPRw5tknik8D5_8p5FM8cxuTtU5P18v3-tsgHi5kM,9637
|
|
7
7
|
sandwitches/locale/nl/LC_MESSAGES/django.mo,sha256=EzQWzIhz_Na3w9AS7F-YjB-Xv63t4sMRSAkEQ1-g32M,5965
|
|
8
8
|
sandwitches/locale/nl/LC_MESSAGES/django.po,sha256=znxspEoMwkmktusZtbVrt1KG1LDUwIEi4ZEIE3XGeoI,25904
|
|
9
9
|
sandwitches/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -23,20 +23,23 @@ sandwitches/migrations/0011_alter_historicalrecipe_is_community_made_and_more.py
|
|
|
23
23
|
sandwitches/migrations/0012_rename_is_community_made_historicalrecipe_is_approved_and_more.py,sha256=bCDPpHmZTIW70-YeL30WhuJ2mORktkrsntKqTw0vj94,577
|
|
24
24
|
sandwitches/migrations/0013_cartitem.py,sha256=KYMinpnZiLHwjo7p7EdJHQExuEGC9jtpcZcbm1r7JFo,1787
|
|
25
25
|
sandwitches/migrations/0014_ensure_groups_exist.py,sha256=5FSA742bEQtwHZl5CWZQYIdmS8FBxMgWS079dOaOltY,564
|
|
26
|
+
sandwitches/migrations/0015_order_completed_alter_order_status_and_more.py,sha256=PTXQZUE8RqTAK8l0vkZhiGKv2T0PDiWEue7f6qz3AQ0,1670
|
|
27
|
+
sandwitches/migrations/0016_user_theme.py,sha256=2tJnT6Bjd6fuwLAr2J47IXTfmmde1BpPGM_1HB37sSg,537
|
|
28
|
+
sandwitches/migrations/0017_setting_gotify_token_setting_gotify_url.py,sha256=ABebUfj92uZcRg9XnAz-W_am74l9qjrg_vwDKaMjjBc,839
|
|
26
29
|
sandwitches/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
-
sandwitches/models.py,sha256=
|
|
30
|
+
sandwitches/models.py,sha256=L8qMFoJ7WpIito2nTgsAB8s-UPUQMwDux63aKbP71aE,12468
|
|
28
31
|
sandwitches/settings.py,sha256=5_eQAJCAV093hnhr3XOxHekT4IF-PEJcRiTecq71_SQ,5841
|
|
29
32
|
sandwitches/storage.py,sha256=ibBG6tVtArqzgEKsRimZPwsqW7i9j4WiPLLHrOJchow,3578
|
|
30
|
-
sandwitches/tasks.py,sha256=
|
|
31
|
-
sandwitches/templates/admin/admin_base.html,sha256=
|
|
33
|
+
sandwitches/tasks.py,sha256=cGPgEqxGOCwliIq0oxNZBGjnCtvrTdJN-XyIp1ciJ3k,6865
|
|
34
|
+
sandwitches/templates/admin/admin_base.html,sha256=kpVZkoeDQMqhpxqdKbQ4-t0qqJ3cbFM9LojWY5s8qKk,4403
|
|
32
35
|
sandwitches/templates/admin/confirm_delete.html,sha256=HfsZI_gV8JQTKz215TYgPWBrgrFhGv1UB3N-0Hln-14,804
|
|
33
36
|
sandwitches/templates/admin/dashboard.html,sha256=Ial8zH2odIPpstSkQmzGrasl0QxvgGhFPAGy7V5xRzY,5916
|
|
34
37
|
sandwitches/templates/admin/order_list.html,sha256=eHFUn2speXaaj5_SFUG0Z0HfWVUR9-VCDRBeb8ufFb0,819
|
|
35
38
|
sandwitches/templates/admin/partials/dashboard_charts.html,sha256=NYrt-LDZO4__2KDWhAYL5K_f-2Zgj0iiuaZQiRZlBWg,3639
|
|
36
|
-
sandwitches/templates/admin/partials/order_rows.html,sha256=
|
|
39
|
+
sandwitches/templates/admin/partials/order_rows.html,sha256=C7_ArHw1udaGjx6CRJHhksje0OReP7UUhdsHcdFPqCc,940
|
|
37
40
|
sandwitches/templates/admin/rating_list.html,sha256=8CHAsBfKfs4izhb-IyOiDjJXqAZxFcStoRSGh4pRlgM,1365
|
|
38
41
|
sandwitches/templates/admin/recipe_approval_list.html,sha256=M6GFYI45lAkLkvqP44cu5tDYVOeeVNklEphof1euesM,2281
|
|
39
|
-
sandwitches/templates/admin/recipe_form.html,sha256=
|
|
42
|
+
sandwitches/templates/admin/recipe_form.html,sha256=wVKKBFl3vN11aknnmv2Hxkj66zZk9iZ0x_iS1j_X_Ro,12884
|
|
40
43
|
sandwitches/templates/admin/recipe_list.html,sha256=5fGnRIQ7JfvM3yfG-sngEIEgiPnPDkjK1Tn3nO8EDh4,5359
|
|
41
44
|
sandwitches/templates/admin/tag_form.html,sha256=JRWgAl4fz_Oy-Kuo1K6Mex_CXdsHMABzzyPazthr1Kg,989
|
|
42
45
|
sandwitches/templates/admin/tag_list.html,sha256=ttxwXgfdxkEs4Cmrz5RHaGmaqLd7JDmWhjv80XIQqyw,1246
|
|
@@ -44,39 +47,40 @@ sandwitches/templates/admin/task_detail.html,sha256=dO5zHOG-yTY1ly3VPA3o3jjie0wm
|
|
|
44
47
|
sandwitches/templates/admin/task_list.html,sha256=3YF7YQ3nbXnWjApKeA07Z7HkhdMuH4s6sLoN7gwg0eE,1535
|
|
45
48
|
sandwitches/templates/admin/user_form.html,sha256=7_6GShLROFeJJexL1XLFUXdW9_lYF87eT6cigB5bQo4,1314
|
|
46
49
|
sandwitches/templates/admin/user_list.html,sha256=6O1YctULY-tqJnagybJof9ERA_NL1LX_a8cAu6_aWVQ,2193
|
|
47
|
-
sandwitches/templates/base.html,sha256=
|
|
48
|
-
sandwitches/templates/base_beer.html,sha256=
|
|
50
|
+
sandwitches/templates/base.html,sha256=4IkEdeEksQ9o4Ad72osMgMVnzz14aJa8WKg9HE3F0MU,3655
|
|
51
|
+
sandwitches/templates/base_beer.html,sha256=7dWwGOUEdBz19X3Rilbam1xSNkQqXqvC6cYrDdQvYIE,2025
|
|
49
52
|
sandwitches/templates/cart.html,sha256=YqmrzOLLPAXSqeXeUTrt9AwTTWOitOLTaD_k3mYYVpM,4537
|
|
50
|
-
sandwitches/templates/community.html,sha256
|
|
53
|
+
sandwitches/templates/community.html,sha256=-YhpPtLbrVK9mc2Go1XBInLK-7OXrtb7kKukjl7rGbg,9607
|
|
51
54
|
sandwitches/templates/components/carousel_scripts.html,sha256=9vEL5JJv8zUUjEtsnHW-BwwXUNWqQ6w_vf6UdxgEv_I,1934
|
|
52
55
|
sandwitches/templates/components/favorites_search_form.html,sha256=tpD8SpS47TUDJBwxhMuvjhTN9pjWoRGFW50TBv48Ld4,5202
|
|
53
56
|
sandwitches/templates/components/footer.html,sha256=Qk-myRtXS6-1b3fMowVGnSuFb_UkUgX6BYX9zgh_SV8,486
|
|
54
57
|
sandwitches/templates/components/ingredients_scripts.html,sha256=2zKTC65GYF589uW1sCpDq0jOkS3BnsuOwUpJbbigrn4,1794
|
|
55
58
|
sandwitches/templates/components/ingredients_section.html,sha256=XsaVXTs9MIwjfJeLjlzah3GWWj8oFU-_HJd9i9l1HAo,665
|
|
56
59
|
sandwitches/templates/components/instructions_section.html,sha256=RFlA4uPiI6vf1e2QgiD5KzGoy7Vg7y7nFY7TFabCYLA,277
|
|
57
|
-
sandwitches/templates/components/
|
|
58
|
-
sandwitches/templates/components/navbar.html,sha256=t-ZWvd9Z3UQRR2RswcsRXRNbygiesOD0Bh1jhmm2vEY,1396
|
|
60
|
+
sandwitches/templates/components/navbar.html,sha256=UO0F4J_yDTOGo-C7thNNZu_9IJ0t1pDyu5mwm9L-Ql8,1166
|
|
59
61
|
sandwitches/templates/components/rating_section.html,sha256=8O5IsFfQwnElMQZLnDpJiuCvvQMLa3jCS67u_RhMi7o,2717
|
|
60
62
|
sandwitches/templates/components/recipe_header.html,sha256=U6CxuR275QD9TIqo3VQftqvV6tqmH1rJdDcQotnXxYM,2001
|
|
61
63
|
sandwitches/templates/components/search_form.html,sha256=B8579Jo44gLrlmvkkc2-Vuv_QD93Ljt6F2J1WgTDV60,6617
|
|
62
64
|
sandwitches/templates/components/search_scripts.html,sha256=HvsO5e50DoTZeoFiYeNP5S8S5h7Zfr9VULOWKKR1i_M,3423
|
|
63
|
-
sandwitches/templates/components/side_menu.html,sha256=
|
|
64
|
-
sandwitches/templates/components/user_menu.html,sha256=
|
|
65
|
+
sandwitches/templates/components/side_menu.html,sha256=FMy-gwjBh4JjMD8XcQ1nHBzf6_YoxY97flrafIN30RY,2055
|
|
66
|
+
sandwitches/templates/components/user_menu.html,sha256=KV_0gtvWbo3nvKZQ0peSZDtB3GgVuOyeBdar-wmwsDg,461
|
|
65
67
|
sandwitches/templates/detail.html,sha256=g-O_RsW9Ix9ivWC0nZ4FwHY2NhgYZ3bEGLpqGY0JSxg,5642
|
|
66
68
|
sandwitches/templates/favorites.html,sha256=0cPpW07N6Isrb8XpvA5Eh97L2-12QFZ43EzeJvbOlXo,917
|
|
67
69
|
sandwitches/templates/index.html,sha256=7anU7k8s80JYk59Rwsm8EdlNYd7B5clCvV7pKq2IUy0,2518
|
|
68
70
|
sandwitches/templates/login.html,sha256=LiQskhkOkfx0EE4ssA1ToqQ3oEll08OPYLDIkLjHfU8,2177
|
|
71
|
+
sandwitches/templates/order_detail.html,sha256=D6MjUVibQuED2VRNHSjKVnLHcLgFtLvcVmuwlzfoJzo,2498
|
|
69
72
|
sandwitches/templates/partials/recipe_list.html,sha256=LUHKFKG90D72K9X2X3d1osvj2jX1QU_MbPe0lNwRSII,4555
|
|
70
|
-
sandwitches/templates/profile.html,sha256=
|
|
73
|
+
sandwitches/templates/profile.html,sha256=9Sj0UjbUNmWHEG9Nnc95LK5P3Gl86FqsnikDsubJERY,8670
|
|
74
|
+
sandwitches/templates/settings.html,sha256=Q3dwXdwiNgPxevfArjiHhIu-wCsQaii2Uymf_CqbWWg,2121
|
|
71
75
|
sandwitches/templates/setup.html,sha256=iNveFgePATsCSO4XMbGPa8TnWHyvj8S_5WwcW6i7pbo,4661
|
|
72
|
-
sandwitches/templates/signup.html,sha256=
|
|
76
|
+
sandwitches/templates/signup.html,sha256=wVRyj6Sy1z5TRvJDT9ufEOp8-tKbW44Fzer4SYq9AGw,5518
|
|
73
77
|
sandwitches/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
78
|
sandwitches/templatetags/custom_filters.py,sha256=0KDFlFz4b5LwlcURBAmzyYWKKea-LwydZytJGVkkuKA,243
|
|
75
79
|
sandwitches/templatetags/markdown_extras.py,sha256=0ibmRzxE3r85x4k7kK71R-9UT0CgeegYF7MHzj3juTI,344
|
|
76
|
-
sandwitches/urls.py,sha256=
|
|
80
|
+
sandwitches/urls.py,sha256=0p7MpYranWc4qNPyInxNzg8J3vNhap_gdt2n892exJM,5006
|
|
77
81
|
sandwitches/utils.py,sha256=SJP-TkeRZ0OIfaMigYrOSbxRqYXswoqoWhwll3nFuAM,7245
|
|
78
|
-
sandwitches/views.py,sha256=
|
|
82
|
+
sandwitches/views.py,sha256=Bv05_8qEbuD_f3EkiR-2PAIx0XbJCNvoR3ZeOz6Yfqg,33078
|
|
79
83
|
sandwitches/wsgi.py,sha256=Eyncpnahq_4s3Lr9ruB-R3Lu9j9zBXqgPbUj7qhIbwU,399
|
|
80
|
-
sandwitches-2.
|
|
81
|
-
sandwitches-2.
|
|
82
|
-
sandwitches-2.
|
|
84
|
+
sandwitches-2.5.0.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
85
|
+
sandwitches-2.5.0.dist-info/METADATA,sha256=WfoggpXEkhWfIgBchLTnE1Rrj6Tlw7jOkTjus4wRzU4,3111
|
|
86
|
+
sandwitches-2.5.0.dist-info/RECORD,,
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{% load i18n %}
|
|
2
|
-
<dialog id="language-menu">
|
|
3
|
-
<form method="post" action="{% url 'set_language' %}">
|
|
4
|
-
{% csrf_token %}
|
|
5
|
-
<h5 class="center-align">{% trans "Select Language" %}</h5>
|
|
6
|
-
<div class="grid center-align">
|
|
7
|
-
{% get_current_language as LANGUAGE_CODE %}
|
|
8
|
-
{% get_available_languages as LANGUAGES %}
|
|
9
|
-
{% for code, name in LANGUAGES %}
|
|
10
|
-
<div class="s6">
|
|
11
|
-
<button type="submit" name="language" value="{{ code }}" class="circle large {% if code == LANGUAGE_CODE %}primary{% else %}surface{% endif %}">
|
|
12
|
-
<span style="font-size: 2rem;">
|
|
13
|
-
{% if code == 'en' %}🇬🇧{% elif code == 'nl' %}🇳🇱{% else %}🌐{% endif %}
|
|
14
|
-
</span>
|
|
15
|
-
</button>
|
|
16
|
-
<div class="small-text">{{ name }}</div>
|
|
17
|
-
</div>
|
|
18
|
-
{% endfor %}
|
|
19
|
-
</div>
|
|
20
|
-
<input type="hidden" name="next" value="{{ request.get_full_path }}" />
|
|
21
|
-
</form>
|
|
22
|
-
<div class="space"></div>
|
|
23
|
-
<nav class="center-align">
|
|
24
|
-
<button class="transparent link" data-ui="#language-menu">{% trans "Close" %}</button>
|
|
25
|
-
</nav>
|
|
26
|
-
</dialog>
|
|
File without changes
|