fnschool 20251027.81653.841__tar.gz → 20251027.82134.859__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.
Potentially problematic release.
This version of fnschool might be problematic. Click here for more details.
- {fnschool-20251027.81653.841/src/fnschool.egg-info → fnschool-20251027.82134.859}/PKG-INFO +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/__init__.py +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/migrations/0001_initial.py +1 -1
- fnschool-20251027.82134.859/src/fnschoo1/fnprofile/migrations/0003_alter_fnuser_options_alter_fnuser_groups_and_more.py +45 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/views.py +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/settings.py +2 -2
- fnschool-20251027.82134.859/src/fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/fnschool.js +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/includes/_header.html +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859/src/fnschool.egg-info}/PKG-INFO +1 -1
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/SOURCES.txt +1 -2
- fnschool-20251027.81653.841/src/fnschoo1/fnprofile/migrations/0003_alter_fnuser_options.py +0 -20
- fnschool-20251027.81653.841/src/fnschoo1/fnschool/settings_fn_profile_migration_0001.py +0 -180
- fnschool-20251027.81653.841/src/fnschoo1/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/LICENSE +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/README.md +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/pyproject.toml +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/setup.cfg +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/admin.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/apps.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/forms.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0001_initial.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0002_ingredient_is_disabled.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0003_consumption_is_disabled_alter_ingredient_is_disabled.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0004_alter_ingredient_name_category_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0005_alter_category_created_at_alter_category_name_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0006_category_is_disabled_alter_category_user_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0007_alter_consumption_amount_used_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0008_category_abbreviation_mealtype.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0009_alter_category_abbreviation_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0010_alter_consumption_options_alter_ingredient_options_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0011_category_pin_to_consumptions_top.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0012_alter_ingredient_storage_date.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0013_alter_consumption_options_alter_ingredient_options_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0014_category_priority.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0015_alter_category_options_alter_category_priority.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0016_consumption_unique_ingredient_date_of_using.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0017_ingredient_updated_at_alter_category_created_at_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0018_alter_ingredient_updated_at.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0019_category_updated_at_ingredient_created_at_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/0020_alter_ingredient_created_at.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/migrations/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/models.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/category/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/category/delete.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/category/list.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/category/update.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/close.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/consumption/_create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/consumption/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/close.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/create_one.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/delete.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/list.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/ingredient/update.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/meal_type/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/meal_type/delete.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/meal_type/list.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/templates/canteen/meal_type/update.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/tests.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/urls.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/views.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/workbook/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/workbook/generate.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/admin.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/apps.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/forms.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/migrations/0002_auto_20251026_2235.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/migrations/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/models.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/signals.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/templates/fnprofile/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/templates/fnprofile/detail.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/templates/fnprofile/edit.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/templates/fnprofile/log_in.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/templates/fnprofile/log_out.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/tests.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/urls.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/_settings.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/asgi.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/templatetags/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/templatetags/fnschool_tags.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/urls.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/views.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/wsgi.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/locale/en/LC_MESSAGES/django.mo +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/manage.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/admin.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/apps.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/forms.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0001_initial.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0002_alter_profile_bio.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0003_alter_profile_options_alter_profile_address_and_more.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0004_profile_gender.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0005_alter_profile_gender.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0006_profile_created_at_profile_updated_at.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0007_alter_profile_created_at.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/0008_alter_profile_groups_alter_profile_user_permissions.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/migrations/__init__.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/models.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/signals.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/templates/profiles/create.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/templates/profiles/detail.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/templates/profiles/edit.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/templates/profiles/log_in.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/templates/profiles/log_out.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/tests.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/urls.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/views.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/css/bootstrap.min.css +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/css/fnschool.css +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/images/favicon.ico +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/bootstrap.bundle.min.js +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/bootstrap.min.js +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/jquery.min.js +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/jquery.slim.min.js +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/popper.min.js +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/_content.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/_css.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/_js.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/content.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/document.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/close.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/home.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/includes/_footer.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/includes/_navigation.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/includes/_paginator.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/registration/logged_out.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/registration/login.html +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/SOURCES.txt.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/dependency_links.txt +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/dependency_links.txt.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/entry_points.txt +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/entry_points.txt.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/requires.txt +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/requires.txt.py +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/top_level.txt +0 -0
- {fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/top_level.txt.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fnschool
|
|
3
|
-
Version: 20251027.
|
|
3
|
+
Version: 20251027.82134.859
|
|
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>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Generated by Django 4.2.25 on 2025-10-27 13:34
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
("auth", "0012_alter_user_first_name_max_length"),
|
|
10
|
+
("fnprofile", "0002_auto_20251026_2235"),
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
operations = [
|
|
14
|
+
migrations.AlterModelOptions(
|
|
15
|
+
name="fnuser",
|
|
16
|
+
options={
|
|
17
|
+
"verbose_name": "用户信息",
|
|
18
|
+
"verbose_name_plural": "用户信息",
|
|
19
|
+
},
|
|
20
|
+
),
|
|
21
|
+
migrations.AlterField(
|
|
22
|
+
model_name="fnuser",
|
|
23
|
+
name="groups",
|
|
24
|
+
field=models.ManyToManyField(
|
|
25
|
+
blank=True,
|
|
26
|
+
help_text="这个用户所属的组。",
|
|
27
|
+
related_name="fn_user_groups",
|
|
28
|
+
related_query_name="fn_user",
|
|
29
|
+
to="auth.group",
|
|
30
|
+
verbose_name="groups",
|
|
31
|
+
),
|
|
32
|
+
),
|
|
33
|
+
migrations.AlterField(
|
|
34
|
+
model_name="fnuser",
|
|
35
|
+
name="user_permissions",
|
|
36
|
+
field=models.ManyToManyField(
|
|
37
|
+
blank=True,
|
|
38
|
+
help_text="给这个用户指定权限。",
|
|
39
|
+
related_name="fn_user_permissions",
|
|
40
|
+
related_query_name="fn_user",
|
|
41
|
+
to="auth.permission",
|
|
42
|
+
verbose_name="user permissions",
|
|
43
|
+
),
|
|
44
|
+
),
|
|
45
|
+
]
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/settings.py
RENAMED
|
@@ -49,7 +49,7 @@ INSTALLED_APPS = [
|
|
|
49
49
|
# fnschool apps.
|
|
50
50
|
"fnschool",
|
|
51
51
|
"fnprofile",
|
|
52
|
-
"profiles",
|
|
52
|
+
# "profiles",
|
|
53
53
|
"canteen",
|
|
54
54
|
]
|
|
55
55
|
|
|
@@ -108,7 +108,7 @@ DATABASES = {
|
|
|
108
108
|
# Password validation
|
|
109
109
|
# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators
|
|
110
110
|
AUTH_USER_MODEL = "fnprofile.Fnuser"
|
|
111
|
-
## AUTH_USER_MODEL = "
|
|
111
|
+
## AUTH_USER_MODEL = "auth.User"
|
|
112
112
|
AUTH_PASSWORD_VALIDATORS = [
|
|
113
113
|
{
|
|
114
114
|
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
{% if messages %}
|
|
93
93
|
<div class="messages">
|
|
94
94
|
{% for message in messages %}
|
|
95
|
-
<div class="alert alert-{{ message.tags }}">
|
|
95
|
+
<div class="alert alert-{{ message.tags }} p-2">
|
|
96
96
|
{{ message }}
|
|
97
97
|
<span class="btn-close mx-2" title="{% trans "Hide messages." %}"></span>
|
|
98
98
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fnschool
|
|
3
|
-
Version: 20251027.
|
|
3
|
+
Version: 20251027.82134.859
|
|
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>
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/SOURCES.txt
RENAMED
|
@@ -62,7 +62,7 @@ src/fnschoo1/fnprofile/urls.py
|
|
|
62
62
|
src/fnschoo1/fnprofile/views.py
|
|
63
63
|
src/fnschoo1/fnprofile/migrations/0001_initial.py
|
|
64
64
|
src/fnschoo1/fnprofile/migrations/0002_auto_20251026_2235.py
|
|
65
|
-
src/fnschoo1/fnprofile/migrations/
|
|
65
|
+
src/fnschoo1/fnprofile/migrations/0003_alter_fnuser_options_alter_fnuser_groups_and_more.py
|
|
66
66
|
src/fnschoo1/fnprofile/migrations/__init__.py
|
|
67
67
|
src/fnschoo1/fnprofile/templates/fnprofile/create.html
|
|
68
68
|
src/fnschoo1/fnprofile/templates/fnprofile/detail.html
|
|
@@ -73,7 +73,6 @@ src/fnschoo1/fnschool/__init__.py
|
|
|
73
73
|
src/fnschoo1/fnschool/_settings.py
|
|
74
74
|
src/fnschoo1/fnschool/asgi.py
|
|
75
75
|
src/fnschoo1/fnschool/settings.py
|
|
76
|
-
src/fnschoo1/fnschool/settings_fn_profile_migration_0001.py
|
|
77
76
|
src/fnschoo1/fnschool/urls.py
|
|
78
77
|
src/fnschoo1/fnschool/views.py
|
|
79
78
|
src/fnschoo1/fnschool/wsgi.py
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Generated by Django 4.2.25 on 2025-10-26 15:42
|
|
2
|
-
|
|
3
|
-
from django.db import migrations
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class Migration(migrations.Migration):
|
|
7
|
-
|
|
8
|
-
dependencies = [
|
|
9
|
-
("fnprofile", "0002_auto_20251026_2235"),
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
operations = [
|
|
13
|
-
migrations.AlterModelOptions(
|
|
14
|
-
name="fnuser",
|
|
15
|
-
options={
|
|
16
|
-
"verbose_name": "User Information",
|
|
17
|
-
"verbose_name_plural": "User Information",
|
|
18
|
-
},
|
|
19
|
-
),
|
|
20
|
-
]
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Django settings for fnschool project.
|
|
3
|
-
|
|
4
|
-
Generated by 'django-admin startproject' using Django 4.2.24.
|
|
5
|
-
|
|
6
|
-
For more information on this file, see
|
|
7
|
-
https://docs.djangoproject.com/en/4.2/topics/settings/
|
|
8
|
-
|
|
9
|
-
For the full list of settings and their values, see
|
|
10
|
-
https://docs.djangoproject.com/en/4.2/ref/settings/
|
|
11
|
-
"""
|
|
12
|
-
|
|
13
|
-
import os
|
|
14
|
-
from pathlib import Path
|
|
15
|
-
|
|
16
|
-
from django.urls import reverse_lazy
|
|
17
|
-
from django.utils.translation import gettext_lazy as _
|
|
18
|
-
|
|
19
|
-
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
|
20
|
-
BASE_DIR = Path(__file__).resolve().parent.parent
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# Quick-start development settings - unsuitable for production
|
|
24
|
-
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
|
|
25
|
-
|
|
26
|
-
# SECURITY WARNING: keep the secret key used in production secret!
|
|
27
|
-
SECRET_KEY = (
|
|
28
|
-
"django-insecure-vt(#owf#cbx)yo$9m^=%&-heu&txuc23&a5b=a=u@=274)2!9w"
|
|
29
|
-
)
|
|
30
|
-
|
|
31
|
-
# SECURITY WARNING: don't run with debug turned on in production!
|
|
32
|
-
DEBUG = True
|
|
33
|
-
|
|
34
|
-
ALLOWED_HOSTS = []
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
# Application definition
|
|
38
|
-
|
|
39
|
-
INSTALLED_APPS = [
|
|
40
|
-
"django.contrib.admin",
|
|
41
|
-
"django.contrib.auth",
|
|
42
|
-
"django.contrib.contenttypes",
|
|
43
|
-
"django.contrib.sessions",
|
|
44
|
-
"django.contrib.messages",
|
|
45
|
-
"django.contrib.staticfiles",
|
|
46
|
-
# site apps.
|
|
47
|
-
"crispy_forms",
|
|
48
|
-
"crispy_bootstrap5", # For Bootstrap 5
|
|
49
|
-
# fnschool apps.
|
|
50
|
-
"fnschool",
|
|
51
|
-
"fnprofile",
|
|
52
|
-
"profiles",
|
|
53
|
-
"canteen",
|
|
54
|
-
]
|
|
55
|
-
|
|
56
|
-
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
|
57
|
-
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
|
58
|
-
|
|
59
|
-
MIDDLEWARE = [
|
|
60
|
-
"django.middleware.security.SecurityMiddleware",
|
|
61
|
-
"django.contrib.sessions.middleware.SessionMiddleware",
|
|
62
|
-
"django.middleware.locale.LocaleMiddleware",
|
|
63
|
-
"django.middleware.common.CommonMiddleware",
|
|
64
|
-
"django.middleware.csrf.CsrfViewMiddleware",
|
|
65
|
-
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
|
66
|
-
"django.contrib.messages.middleware.MessageMiddleware",
|
|
67
|
-
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
|
68
|
-
]
|
|
69
|
-
|
|
70
|
-
ROOT_URLCONF = "fnschool.urls"
|
|
71
|
-
|
|
72
|
-
TEMPLATES = [
|
|
73
|
-
{
|
|
74
|
-
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
|
75
|
-
"DIRS": [
|
|
76
|
-
os.path.join(BASE_DIR, "templates"),
|
|
77
|
-
],
|
|
78
|
-
"APP_DIRS": True,
|
|
79
|
-
"OPTIONS": {
|
|
80
|
-
"context_processors": [
|
|
81
|
-
"django.template.context_processors.debug",
|
|
82
|
-
"django.template.context_processors.request",
|
|
83
|
-
"django.contrib.auth.context_processors.auth",
|
|
84
|
-
"django.contrib.messages.context_processors.messages",
|
|
85
|
-
"django.template.context_processors.i18n",
|
|
86
|
-
],
|
|
87
|
-
"builtins": [
|
|
88
|
-
"django.templatetags.i18n",
|
|
89
|
-
],
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
]
|
|
93
|
-
|
|
94
|
-
WSGI_APPLICATION = "fnschool.wsgi.application"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
# Database
|
|
98
|
-
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
|
99
|
-
|
|
100
|
-
DATABASES = {
|
|
101
|
-
"default": {
|
|
102
|
-
"ENGINE": "django.db.backends.sqlite3",
|
|
103
|
-
"NAME": BASE_DIR / "db.sqlite3",
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
# Password validation
|
|
109
|
-
# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators
|
|
110
|
-
## AUTH_USER_MODEL = "fn_profile.FnUser"
|
|
111
|
-
AUTH_USER_MODEL = "profiles.Profile"
|
|
112
|
-
AUTH_PASSWORD_VALIDATORS = [
|
|
113
|
-
{
|
|
114
|
-
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",
|
|
124
|
-
},
|
|
125
|
-
]
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
# Internationalization
|
|
129
|
-
# https://docs.djangoproject.com/en/4.2/topics/i18n/
|
|
130
|
-
|
|
131
|
-
USE_TZ = True
|
|
132
|
-
TIME_ZONE = "Asia/Shanghai"
|
|
133
|
-
|
|
134
|
-
USE_I18N = True
|
|
135
|
-
USE_L10N = True
|
|
136
|
-
|
|
137
|
-
LANGUAGE_CODE = "zh-hans"
|
|
138
|
-
|
|
139
|
-
LANGUAGES = [
|
|
140
|
-
("en", _("English")),
|
|
141
|
-
("es", _("Spanish")),
|
|
142
|
-
("fr", _("French")),
|
|
143
|
-
("zh-hans", _("Simplified Chinese")),
|
|
144
|
-
]
|
|
145
|
-
LOCALE_PATHS = [
|
|
146
|
-
os.path.join(BASE_DIR, "locale"),
|
|
147
|
-
]
|
|
148
|
-
|
|
149
|
-
USE_TZ = True
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
# Static files (CSS, JavaScript, Images)
|
|
153
|
-
# https://docs.djangoproject.com/en/4.2/howto/static-files/
|
|
154
|
-
|
|
155
|
-
STATIC_URL = "/static/"
|
|
156
|
-
STATICFILES_DIRS = [
|
|
157
|
-
os.path.join(BASE_DIR, "static")
|
|
158
|
-
] # Optional: for additional static directories
|
|
159
|
-
STATIC_ROOT = os.path.join(BASE_DIR, "static_collected")
|
|
160
|
-
|
|
161
|
-
# Default primary key field type
|
|
162
|
-
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
|
|
163
|
-
|
|
164
|
-
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
|
165
|
-
|
|
166
|
-
MEDIA_URL = "/media/"
|
|
167
|
-
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
|
|
168
|
-
|
|
169
|
-
LOGIN_URL = reverse_lazy("profile:log_in")
|
|
170
|
-
|
|
171
|
-
_settings_path = Path(__file__).parent / "_settings.py"
|
|
172
|
-
if _settings_path.exists():
|
|
173
|
-
print(
|
|
174
|
-
('Custom configuration "{_settings_path}" has been used.').format(
|
|
175
|
-
_settings_path=_settings_path.as_posix()
|
|
176
|
-
)
|
|
177
|
-
)
|
|
178
|
-
from ._settings import *
|
|
179
|
-
|
|
180
|
-
# The end.
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/canteen/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/models.py
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnprofile/signals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/__init__.py
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/fnschool/_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/profiles/signals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/css/fnschool.css
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/images/favicon.ico
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/bootstrap.min.js
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/jquery.min.js
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/static/js/popper.min.js
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/_css.html
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/_js.html
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/base/content.html
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/close.html
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschoo1/templates/home.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/SOURCES.txt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/requires.txt
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/requires.txt.py
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/top_level.txt
RENAMED
|
File without changes
|
{fnschool-20251027.81653.841 → fnschool-20251027.82134.859}/src/fnschool.egg-info/top_level.txt.py
RENAMED
|
File without changes
|