fnschool 20251015.80844.859__py3-none-any.whl → 20251015.81127.817__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 fnschool might be problematic. Click here for more details.
- fnschoo1/__init__.py +1 -1
- fnschoo1/canteen/views.py +1 -1
- fnschoo1/canteen/workbook/generate.py +2 -2
- fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/METADATA +1 -1
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/RECORD +15 -15
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/SOURCES.txt.py +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/WHEEL +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/dependency_links.txt.py +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/entry_points.txt +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/entry_points.txt.py +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/licenses/LICENSE +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/requires.txt.py +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/top_level.txt +0 -0
- {fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/top_level.txt.py +0 -0
fnschoo1/__init__.py
CHANGED
fnschoo1/canteen/views.py
CHANGED
|
@@ -246,7 +246,7 @@ def create_consumptions(request, ingredient_id=None):
|
|
|
246
246
|
& Q(is_ignorable=False)
|
|
247
247
|
)
|
|
248
248
|
ingredients = Ingredient.objects
|
|
249
|
-
|
|
249
|
+
|
|
250
250
|
ingredients = (
|
|
251
251
|
ingredients.filter(queries).order_by(
|
|
252
252
|
"name", "storage_date", "meal_type__name", "category__name"
|
|
@@ -907,7 +907,7 @@ class CanteenWorkBook:
|
|
|
907
907
|
|
|
908
908
|
title_cell_row_num = row_num
|
|
909
909
|
title_cell = sheet.cell(title_cell_row_num, 1)
|
|
910
|
-
title_cell.value = _("
|
|
910
|
+
title_cell.value = _("Consumption List Title (Consumption List Sheet)")
|
|
911
911
|
title_cell.alignment = self.center_alignment
|
|
912
912
|
title_cell.font = self.font_20_bold
|
|
913
913
|
sheet.merge_cells(f"A{title_cell_row_num}:H{title_cell_row_num}")
|
|
@@ -1177,7 +1177,7 @@ class CanteenWorkBook:
|
|
|
1177
1177
|
).all()
|
|
1178
1178
|
ingredient_row_height = 0.18
|
|
1179
1179
|
ingredient_rows_height = ingredient_rows_count * 0.18
|
|
1180
|
-
storage_dates = list(set([i.storage_date for i in ingredients]))
|
|
1180
|
+
storage_dates = sorted(list(set([i.storage_date for i in ingredients])))
|
|
1181
1181
|
|
|
1182
1182
|
storaged_ingredients = []
|
|
1183
1183
|
for storage_date in storage_dates:
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fnschool
|
|
3
|
-
Version: 20251015.
|
|
3
|
+
Version: 20251015.81127.817
|
|
4
4
|
Summary: Just some school related scripts, without any ambition.
|
|
5
5
|
Author-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>, Larry W3i <larryw3i@yeah.net>
|
|
6
6
|
Maintainer-email: larryw3i <larryw3i@163.com>, Larry Wei <larryw3i@126.com>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
fnschoo1/__init__.py,sha256=
|
|
1
|
+
fnschoo1/__init__.py,sha256=Hx-9-YfTx_lziChxGNxSdlO4jOb42i66f9ajNcbIhUM,197
|
|
2
2
|
fnschoo1/manage.py,sha256=VZIol9q_Dhg81_KJ9Jfq-L5O8ubQelShkA-cZVJ1S6E,1539
|
|
3
3
|
fnschoo1/canteen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
fnschoo1/canteen/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
|
@@ -7,7 +7,7 @@ fnschoo1/canteen/forms.py,sha256=PDPAzZZ_y533KtMxCixLXXsXok5gjUShCSXeonYgGqQ,258
|
|
|
7
7
|
fnschoo1/canteen/models.py,sha256=l0E-kBNZxZnFnVVUbvfGYl39Le-poE218XyV4zFNWfU,5907
|
|
8
8
|
fnschoo1/canteen/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
|
|
9
9
|
fnschoo1/canteen/urls.py,sha256=4GtrqC9L59c8zopfjRgqhbcvA5iPnGcAUVuM6CrKWpk,2797
|
|
10
|
-
fnschoo1/canteen/views.py,sha256=
|
|
10
|
+
fnschoo1/canteen/views.py,sha256=D80gYpQieIc45f0zeb3J803TrUftVdeDy-8MsP_Ff68,26631
|
|
11
11
|
fnschoo1/canteen/migrations/0001_initial.py,sha256=IHlyfT9sNc-kRQZy7NyjgWzp4EGus405QCAUw4oNdAQ,3943
|
|
12
12
|
fnschoo1/canteen/migrations/0002_ingredient_is_disabled.py,sha256=j8oGWb2b99YwsEk-uwESLA_JRITEcz6b35ekoYOUGGc,444
|
|
13
13
|
fnschoo1/canteen/migrations/0003_consumption_is_disabled_alter_ingredient_is_disabled.py,sha256=9RB5SHjINgrrqtDpcVIUXEBa3C_MTcR_keXLGG_PcOs,619
|
|
@@ -43,7 +43,7 @@ fnschoo1/canteen/templates/canteen/meal_type/delete.html,sha256=1UmCyXD-6lbYl-IE
|
|
|
43
43
|
fnschoo1/canteen/templates/canteen/meal_type/list.html,sha256=c5kJUE1OgpRtSrMV4wFwL_gbRSaX_XMM4Zt1JTx34_g,1907
|
|
44
44
|
fnschoo1/canteen/templates/canteen/meal_type/update.html,sha256=Rfv1TamSFIKHzvUNlgnmrPmfmzrehPpuo5Hv8VF0yek,818
|
|
45
45
|
fnschoo1/canteen/workbook/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
46
|
-
fnschoo1/canteen/workbook/generate.py,sha256=
|
|
46
|
+
fnschoo1/canteen/workbook/generate.py,sha256=EXWupVex_fj0zxK82hfews13t5R5yONQBbapl5lpZYc,85025
|
|
47
47
|
fnschoo1/fnschool/__init__.py,sha256=TmHhzykpKNMoMf6eD-EKvbvmnlzs1XGHtvD55ae1sXs,287
|
|
48
48
|
fnschoo1/fnschool/asgi.py,sha256=kzkqosS10uBlyBX53EXcsATcvEZmac6nsPzyOHCuucE,393
|
|
49
49
|
fnschoo1/fnschool/settings.py,sha256=l9Y1iQCivSfmsNfnHltfXLzxP6gG4VMIL4GEZgAp8YM,4357
|
|
@@ -53,7 +53,7 @@ fnschoo1/fnschool/wsgi.py,sha256=dQq4S0vZWCz8w5R9KooJeLYTVFXvEgJRYe7NFZwVxU8,393
|
|
|
53
53
|
fnschoo1/fnschool/templatetags/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
54
54
|
fnschoo1/fnschool/templatetags/fnschool_tags.py,sha256=l5Zov4VlQKpz-69SFftP4kXyMymz-a0D5F_ss_eiFc4,568
|
|
55
55
|
fnschoo1/locale/en/LC_MESSAGES/django.mo,sha256=M8AB6fmjwlEd761iFlasNWdiEYfE-2nIwBoioGtEVUo,404
|
|
56
|
-
fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=
|
|
56
|
+
fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=91oVaDDXdXDZEYghtggnPcBDiUOBphnuLm4QwMZJhIQ,20313
|
|
57
57
|
fnschoo1/profiles/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
58
|
fnschoo1/profiles/admin.py,sha256=93UCvdODI63KzCDfFFnKmfvCMGCp6FCG9WErE91i79Y,522
|
|
59
59
|
fnschoo1/profiles/apps.py,sha256=WDu6eceFnDkBFMqquAolMZMo7XPb0ah6l2q2AruTrl4,215
|
|
@@ -96,14 +96,14 @@ fnschoo1/templates/includes/_navigation.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
|
96
96
|
fnschoo1/templates/includes/_paginator.html,sha256=Z-Hxcdmun4SJ1YcHnWTDLfW8wrngROiBTwr4NZWaPP4,1246
|
|
97
97
|
fnschoo1/templates/registration/logged_out.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
98
|
fnschoo1/templates/registration/login.html,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
-
fnschool-20251015.
|
|
100
|
-
fnschool-20251015.
|
|
101
|
-
fnschool-20251015.
|
|
102
|
-
fnschool-20251015.
|
|
103
|
-
fnschool-20251015.
|
|
104
|
-
fnschool-20251015.
|
|
105
|
-
fnschool-20251015.
|
|
106
|
-
fnschool-20251015.
|
|
107
|
-
fnschool-20251015.
|
|
108
|
-
fnschool-20251015.
|
|
109
|
-
fnschool-20251015.
|
|
99
|
+
fnschool-20251015.81127.817.dist-info/licenses/LICENSE,sha256=2n6rt7r999OuXp8iOqW9we7ORaxWncIbOwN1ILRGR2g,7651
|
|
100
|
+
fnschool-20251015.81127.817.dist-info/METADATA,sha256=Whacwebcw_8mlsKLCHqqO8KFOlWFouQh9rkNMhdkCSU,4752
|
|
101
|
+
fnschool-20251015.81127.817.dist-info/SOURCES.txt.py,sha256=2LY2mshgNtxI3ICB-oBjyMYgJk2bQqeGFM5J5ay5TQs,4954
|
|
102
|
+
fnschool-20251015.81127.817.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
103
|
+
fnschool-20251015.81127.817.dist-info/dependency_links.txt.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
104
|
+
fnschool-20251015.81127.817.dist-info/entry_points.txt,sha256=Ow5nChVFJY3O4TJAIE1ZydMev1MUtgRsT1b8eFP6728,54
|
|
105
|
+
fnschool-20251015.81127.817.dist-info/entry_points.txt.py,sha256=7iOwIx_m9Y6xJt___BZHWJh27LV5hqWnUjmj77MoRys,47
|
|
106
|
+
fnschool-20251015.81127.817.dist-info/requires.txt.py,sha256=PqRcHIQSMPUb271hacYrlSDHwB1WDZmlWUkh6RnBz_g,113
|
|
107
|
+
fnschool-20251015.81127.817.dist-info/top_level.txt,sha256=s6ZKnNm94Q0-247a50eI7jDK98uPF6P2kC9Ovd3LUlM,9
|
|
108
|
+
fnschool-20251015.81127.817.dist-info/top_level.txt.py,sha256=_7CbrSihm0dzBn_tTy2ass_Y2VlkVNT2eylE8mcfwHY,9
|
|
109
|
+
fnschool-20251015.81127.817.dist-info/RECORD,,
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/SOURCES.txt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/entry_points.txt.py
RENAMED
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/requires.txt.py
RENAMED
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/top_level.txt
RENAMED
|
File without changes
|
{fnschool-20251015.80844.859.dist-info → fnschool-20251015.81127.817.dist-info}/top_level.txt.py
RENAMED
|
File without changes
|