68 Commits

Author SHA1 Message Date
康家辉 ba11978e82 添加年级下拉选项 2022-05-11 21:33:19 +08:00
康家辉 72e28e0dd7 根据修改后的model修改了view 2022-05-11 21:26:01 +08:00
ladeng07 bd36d90a3b 我麻了,謝謝你git 2022-05-11 03:05:43 +08:00
ladeng07 26d84a0411 Merge branch 'master' of https://github.com/ladeng07/ITShowPlatform
 Conflicts:
	ITShowPlatform/settings.py
2022-05-11 02:58:22 +08:00
ladeng07 a1f83fefcd 修复了大部分5月6日学长们发现的bug。
移除了.venv和.idea文件夹。
对数据表进行了重构,部门部分代码重构by 老孟
初步将错误信息硬编码移除
添加了requirements
给新生增加了性别
2022-05-11 02:34:49 +08:00
ygm1881 9c960aa1da 改了一下数据库表,把history的序列化器改为模型序列化器 2022-05-09 18:49:41 +08:00
ygm1881 31cad86054 更改表结构 2022-05-09 12:11:47 +08:00
ygm1881 108cffff31 更改表结构 2022-05-09 12:11:01 +08:00
LMark feac79096d !1 删除venv和.idea文件夹,改用requirements.txt文件来管理依赖
Merge pull request !1 from CalunVier/master
2022-05-08 10:04:46 +00:00
CalunVier b7622a7dda add requirements.txt 2022-05-08 17:25:31 +08:00
CalunVier b8fd9f9607 add .idea/ and venv/ to .gitignore 2022-05-08 17:19:25 +08:00
CalunVier 823d371780 Deleted all of the unnecessary files. 2022-05-08 17:18:08 +08:00
ygm1881 cb3076a48a 进行了一些小小的逻辑完善,把get_error_msg的字典放到了函数外面 2022-05-07 00:35:52 +08:00
ygm1881 f328a0e2b6 忽略了idea提交 2022-05-07 00:12:14 +08:00
ygm1881 43e7dc8a62 增删了enroll模型的字段,变更了类名的命名 2022-05-07 00:10:15 +08:00
ygm1881 b31d086522 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/ITShowPlatform.iml
#	.idea/misc.xml
#	.idea/workspace.xml
#	Apps/enroll/admin.py
#	venv/Lib/site-packages/Django-3.2.5.dist-info/AUTHORS
#	venv/Lib/site-packages/Django-3.2.5.dist-info/LICENSE
#	venv/Lib/site-packages/Django-3.2.5.dist-info/LICENSE.python
#	venv/Lib/site-packages/Django-3.2.5.dist-info/METADATA
#	venv/Lib/site-packages/Django-3.2.5.dist-info/RECORD
#	venv/Lib/site-packages/Django-3.2.5.dist-info/WHEEL
#	venv/Lib/site-packages/Django-3.2.5.dist-info/entry_points.txt
#	venv/Lib/site-packages/django/__init__.py
#	venv/Lib/site-packages/django/apps/__init__.py
#	venv/Lib/site-packages/django/apps/config.py
#	venv/Lib/site-packages/django/apps/registry.py
#	venv/Lib/site-packages/django/conf/__init__.py
#	venv/Lib/site-packages/django/conf/global_settings.py
#	venv/Lib/site-packages/django/conf/locale/__init__.py
#	venv/Lib/site-packages/django/conf/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ar/formats.py
#	venv/Lib/site-packages/django/conf/locale/ar_DZ/formats.py
#	venv/Lib/site-packages/django/conf/locale/az/formats.py
#	venv/Lib/site-packages/django/conf/locale/be/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/be/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/bg/formats.py
#	venv/Lib/site-packages/django/conf/locale/bn/formats.py
#	venv/Lib/site-packages/django/conf/locale/br/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/br/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/bs/formats.py
#	venv/Lib/site-packages/django/conf/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ca/formats.py
#	venv/Lib/site-packages/django/conf/locale/cs/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/cs/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/cs/formats.py
#	venv/Lib/site-packages/django/conf/locale/cy/formats.py
#	venv/Lib/site-packages/django/conf/locale/da/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/da/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/da/formats.py
#	venv/Lib/site-packages/django/conf/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/de/formats.py
#	venv/Lib/site-packages/django/conf/locale/de_CH/formats.py
#	venv/Lib/site-packages/django/conf/locale/dsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/dsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/el/formats.py
#	venv/Lib/site-packages/django/conf/locale/en/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/en/formats.py
#	venv/Lib/site-packages/django/conf/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/en_AU/formats.py
#	venv/Lib/site-packages/django/conf/locale/en_GB/formats.py
#	venv/Lib/site-packages/django/conf/locale/eo/formats.py
#	venv/Lib/site-packages/django/conf/locale/es/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/es/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/es/formats.py
#	venv/Lib/site-packages/django/conf/locale/es_AR/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/es_AR/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/es_AR/formats.py
#	venv/Lib/site-packages/django/conf/locale/es_CO/formats.py
#	venv/Lib/site-packages/django/conf/locale/es_MX/formats.py
#	venv/Lib/site-packages/django/conf/locale/es_NI/formats.py
#	venv/Lib/site-packages/django/conf/locale/es_PR/formats.py
#	venv/Lib/site-packages/django/conf/locale/et/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/et/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/et/formats.py
#	venv/Lib/site-packages/django/conf/locale/eu/formats.py
#	venv/Lib/site-packages/django/conf/locale/fa/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/fa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/fa/formats.py
#	venv/Lib/site-packages/django/conf/locale/fi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/fi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/fi/formats.py
#	venv/Lib/site-packages/django/conf/locale/fr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/fr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/fr/formats.py
#	venv/Lib/site-packages/django/conf/locale/ga/formats.py
#	venv/Lib/site-packages/django/conf/locale/gd/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/gd/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/gd/formats.py
#	venv/Lib/site-packages/django/conf/locale/gl/formats.py
#	venv/Lib/site-packages/django/conf/locale/he/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/he/formats.py
#	venv/Lib/site-packages/django/conf/locale/hi/formats.py
#	venv/Lib/site-packages/django/conf/locale/hr/formats.py
#	venv/Lib/site-packages/django/conf/locale/hsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/hsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/hu/formats.py
#	venv/Lib/site-packages/django/conf/locale/ia/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ia/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/id/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/id/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/id/formats.py
#	venv/Lib/site-packages/django/conf/locale/ig/formats.py
#	venv/Lib/site-packages/django/conf/locale/is/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/is/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/is/formats.py
#	venv/Lib/site-packages/django/conf/locale/it/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/it/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/it/formats.py
#	venv/Lib/site-packages/django/conf/locale/ja/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ja/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ja/formats.py
#	venv/Lib/site-packages/django/conf/locale/ka/formats.py
#	venv/Lib/site-packages/django/conf/locale/km/formats.py
#	venv/Lib/site-packages/django/conf/locale/kn/formats.py
#	venv/Lib/site-packages/django/conf/locale/ko/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ko/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ko/formats.py
#	venv/Lib/site-packages/django/conf/locale/ky/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ky/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ky/formats.py
#	venv/Lib/site-packages/django/conf/locale/lt/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/lt/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/lt/formats.py
#	venv/Lib/site-packages/django/conf/locale/lv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/lv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/lv/formats.py
#	venv/Lib/site-packages/django/conf/locale/mk/formats.py
#	venv/Lib/site-packages/django/conf/locale/ml/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ml/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ml/formats.py
#	venv/Lib/site-packages/django/conf/locale/mn/formats.py
#	venv/Lib/site-packages/django/conf/locale/nb/formats.py
#	venv/Lib/site-packages/django/conf/locale/nl/formats.py
#	venv/Lib/site-packages/django/conf/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/nn/formats.py
#	venv/Lib/site-packages/django/conf/locale/pl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/pl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/pl/formats.py
#	venv/Lib/site-packages/django/conf/locale/pt/formats.py
#	venv/Lib/site-packages/django/conf/locale/pt_BR/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/pt_BR/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/pt_BR/formats.py
#	venv/Lib/site-packages/django/conf/locale/ro/formats.py
#	venv/Lib/site-packages/django/conf/locale/ru/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/ru/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/ru/formats.py
#	venv/Lib/site-packages/django/conf/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/sk/formats.py
#	venv/Lib/site-packages/django/conf/locale/sl/formats.py
#	venv/Lib/site-packages/django/conf/locale/sq/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/sq/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/sq/formats.py
#	venv/Lib/site-packages/django/conf/locale/sr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/sr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/sr/formats.py
#	venv/Lib/site-packages/django/conf/locale/sr_Latn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/sr_Latn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/sr_Latn/formats.py
#	venv/Lib/site-packages/django/conf/locale/sv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/sv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/sv/formats.py
#	venv/Lib/site-packages/django/conf/locale/ta/formats.py
#	venv/Lib/site-packages/django/conf/locale/te/formats.py
#	venv/Lib/site-packages/django/conf/locale/tg/formats.py
#	venv/Lib/site-packages/django/conf/locale/th/formats.py
#	venv/Lib/site-packages/django/conf/locale/tk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/tk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/tk/formats.py
#	venv/Lib/site-packages/django/conf/locale/tr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/tr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/tr/formats.py
#	venv/Lib/site-packages/django/conf/locale/uk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/uk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/uk/formats.py
#	venv/Lib/site-packages/django/conf/locale/uz/formats.py
#	venv/Lib/site-packages/django/conf/locale/vi/formats.py
#	venv/Lib/site-packages/django/conf/locale/zh_Hans/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/conf/locale/zh_Hans/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/conf/locale/zh_Hans/formats.py
#	venv/Lib/site-packages/django/conf/locale/zh_Hant/formats.py
#	venv/Lib/site-packages/django/conf/project_template/project_name/settings.py-tpl
#	venv/Lib/site-packages/django/conf/urls/__init__.py
#	venv/Lib/site-packages/django/conf/urls/i18n.py
#	venv/Lib/site-packages/django/conf/urls/static.py
#	venv/Lib/site-packages/django/contrib/admin/__init__.py
#	venv/Lib/site-packages/django/contrib/admin/actions.py
#	venv/Lib/site-packages/django/contrib/admin/apps.py
#	venv/Lib/site-packages/django/contrib/admin/checks.py
#	venv/Lib/site-packages/django/contrib/admin/decorators.py
#	venv/Lib/site-packages/django/contrib/admin/exceptions.py
#	venv/Lib/site-packages/django/contrib/admin/filters.py
#	venv/Lib/site-packages/django/contrib/admin/forms.py
#	venv/Lib/site-packages/django/contrib/admin/helpers.py
#	venv/Lib/site-packages/django/contrib/admin/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ar/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ar/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/be/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/be/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/bg/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/bg/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ca/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ca/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/cs/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/cs/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/de/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/de/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/el/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/el/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/en/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/en_AU/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/en_AU/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/es/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/es/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/es_AR/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/es_AR/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/fa/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/fa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/fi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/fi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/fi/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/fi/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/fr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/fr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/gd/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/gd/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/gd/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/gd/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/gl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/gl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/he/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/he/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/he/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/hsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/hsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/id/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/id/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/id/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/id/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/is/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/is/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/it/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/it/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ja/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ja/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ja/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ja/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ko/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ko/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ko/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ko/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ky/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ky/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/lv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/lv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/mk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/mk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/mk/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/mk/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/mn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/mn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/ne/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/ne/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/nn/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/nn/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/pa/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/pa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/pa/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/pa/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/pl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/pl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/sk/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/sk/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/uk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/uk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/uk/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/uk/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/uz/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/uz/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/uz/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/uz/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/vi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/vi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/locale/vi/LC_MESSAGES/djangojs.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/vi/LC_MESSAGES/djangojs.po
#	venv/Lib/site-packages/django/contrib/admin/locale/zh_Hans/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admin/locale/zh_Hans/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admin/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/admin/migrations/0002_logentry_remove_auto_add.py
#	venv/Lib/site-packages/django/contrib/admin/migrations/0003_logentry_add_action_flag_choices.py
#	venv/Lib/site-packages/django/contrib/admin/models.py
#	venv/Lib/site-packages/django/contrib/admin/options.py
#	venv/Lib/site-packages/django/contrib/admin/sites.py
#	venv/Lib/site-packages/django/contrib/admin/static/admin/css/changelists.css
#	venv/Lib/site-packages/django/contrib/admin/static/admin/css/forms.css
#	venv/Lib/site-packages/django/contrib/admin/static/admin/css/login.css
#	venv/Lib/site-packages/django/contrib/admin/static/admin/css/nav_sidebar.css
#	venv/Lib/site-packages/django/contrib/admin/static/admin/css/responsive.css
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/actions.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/autocomplete.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/core.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/inlines.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/nav_sidebar.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/LICENSE.txt
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.js
#	venv/Lib/site-packages/django/contrib/admin/static/admin/js/vendor/jquery/jquery.min.js
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/app_list.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/auth/user/change_password.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/base.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/change_list_results.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/edit_inline/stacked.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/edit_inline/tabular.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/nav_sidebar.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/prepopulated_fields_js.html
#	venv/Lib/site-packages/django/contrib/admin/templates/admin/search_form.html
#	venv/Lib/site-packages/django/contrib/admin/templates/registration/logged_out.html
#	venv/Lib/site-packages/django/contrib/admin/templatetags/admin_list.py
#	venv/Lib/site-packages/django/contrib/admin/templatetags/admin_modify.py
#	venv/Lib/site-packages/django/contrib/admin/templatetags/admin_urls.py
#	venv/Lib/site-packages/django/contrib/admin/templatetags/base.py
#	venv/Lib/site-packages/django/contrib/admin/templatetags/log.py
#	venv/Lib/site-packages/django/contrib/admin/tests.py
#	venv/Lib/site-packages/django/contrib/admin/utils.py
#	venv/Lib/site-packages/django/contrib/admin/views/autocomplete.py
#	venv/Lib/site-packages/django/contrib/admin/views/decorators.py
#	venv/Lib/site-packages/django/contrib/admin/views/main.py
#	venv/Lib/site-packages/django/contrib/admin/widgets.py
#	venv/Lib/site-packages/django/contrib/admindocs/apps.py
#	venv/Lib/site-packages/django/contrib/admindocs/locale/af/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/af/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/et/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/et/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/gd/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/gd/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/he/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/id/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/id/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ko/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/ko/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/locale/sv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/admindocs/locale/sv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/admindocs/middleware.py
#	venv/Lib/site-packages/django/contrib/admindocs/urls.py
#	venv/Lib/site-packages/django/contrib/admindocs/utils.py
#	venv/Lib/site-packages/django/contrib/admindocs/views.py
#	venv/Lib/site-packages/django/contrib/auth/__init__.py
#	venv/Lib/site-packages/django/contrib/auth/admin.py
#	venv/Lib/site-packages/django/contrib/auth/apps.py
#	venv/Lib/site-packages/django/contrib/auth/backends.py
#	venv/Lib/site-packages/django/contrib/auth/base_user.py
#	venv/Lib/site-packages/django/contrib/auth/checks.py
#	venv/Lib/site-packages/django/contrib/auth/context_processors.py
#	venv/Lib/site-packages/django/contrib/auth/decorators.py
#	venv/Lib/site-packages/django/contrib/auth/forms.py
#	venv/Lib/site-packages/django/contrib/auth/hashers.py
#	venv/Lib/site-packages/django/contrib/auth/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/be/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/be/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/bs/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/bs/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/cs/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/cs/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/da/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/da/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/dsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/dsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/en/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/es/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/es/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/es_AR/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/es_AR/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/fa/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/fa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/fi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/fi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/fr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/fr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/gd/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/gd/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/hsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/hsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/ia/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ia/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/it/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/it/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/ja/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ja/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/ko/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ko/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/ky/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/ky/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/lv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/lv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/pl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/pl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/sr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/sr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/sr_Latn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/sr_Latn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/tr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/tr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/uk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/uk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/vi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/vi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/locale/zh_Hans/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/auth/locale/zh_Hans/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/auth/management/__init__.py
#	venv/Lib/site-packages/django/contrib/auth/management/commands/changepassword.py
#	venv/Lib/site-packages/django/contrib/auth/management/commands/createsuperuser.py
#	venv/Lib/site-packages/django/contrib/auth/middleware.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0002_alter_permission_name_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0003_alter_user_email_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0004_alter_user_username_opts.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0005_alter_user_last_login_null.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0006_require_contenttypes_0002.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0007_alter_validators_add_error_messages.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0008_alter_user_username_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0009_alter_user_last_name_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0010_alter_group_name_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0011_update_proxy_permissions.py
#	venv/Lib/site-packages/django/contrib/auth/migrations/0012_alter_user_first_name_max_length.py
#	venv/Lib/site-packages/django/contrib/auth/mixins.py
#	venv/Lib/site-packages/django/contrib/auth/models.py
#	venv/Lib/site-packages/django/contrib/auth/password_validation.py
#	venv/Lib/site-packages/django/contrib/auth/tokens.py
#	venv/Lib/site-packages/django/contrib/auth/urls.py
#	venv/Lib/site-packages/django/contrib/auth/validators.py
#	venv/Lib/site-packages/django/contrib/auth/views.py
#	venv/Lib/site-packages/django/contrib/contenttypes/admin.py
#	venv/Lib/site-packages/django/contrib/contenttypes/apps.py
#	venv/Lib/site-packages/django/contrib/contenttypes/checks.py
#	venv/Lib/site-packages/django/contrib/contenttypes/fields.py
#	venv/Lib/site-packages/django/contrib/contenttypes/forms.py
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/contenttypes/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/contenttypes/management/__init__.py
#	venv/Lib/site-packages/django/contrib/contenttypes/management/commands/remove_stale_contenttypes.py
#	venv/Lib/site-packages/django/contrib/contenttypes/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/contenttypes/migrations/0002_remove_content_type_name.py
#	venv/Lib/site-packages/django/contrib/contenttypes/models.py
#	venv/Lib/site-packages/django/contrib/contenttypes/views.py
#	venv/Lib/site-packages/django/contrib/flatpages/admin.py
#	venv/Lib/site-packages/django/contrib/flatpages/apps.py
#	venv/Lib/site-packages/django/contrib/flatpages/forms.py
#	venv/Lib/site-packages/django/contrib/flatpages/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/flatpages/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/flatpages/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/flatpages/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/flatpages/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/flatpages/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/flatpages/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/flatpages/models.py
#	venv/Lib/site-packages/django/contrib/flatpages/sitemaps.py
#	venv/Lib/site-packages/django/contrib/flatpages/templatetags/flatpages.py
#	venv/Lib/site-packages/django/contrib/flatpages/urls.py
#	venv/Lib/site-packages/django/contrib/flatpages/views.py
#	venv/Lib/site-packages/django/contrib/gis/admin/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/admin/options.py
#	venv/Lib/site-packages/django/contrib/gis/admin/widgets.py
#	venv/Lib/site-packages/django/contrib/gis/apps.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/base/adapter.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/base/features.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/base/models.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/base/operations.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/mysql/base.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/mysql/features.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/mysql/introspection.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/mysql/operations.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/mysql/schema.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/adapter.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/base.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/features.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/introspection.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/models.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/operations.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/oracle/schema.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/adapter.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/base.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/const.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/introspection.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/models.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/operations.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/pgraster.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/postgis/schema.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/adapter.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/base.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/client.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/features.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/introspection.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/models.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/operations.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/spatialite/schema.py
#	venv/Lib/site-packages/django/contrib/gis/db/backends/utils.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/aggregates.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/fields.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/functions.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/lookups.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/proxy.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/sql/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/db/models/sql/conversion.py
#	venv/Lib/site-packages/django/contrib/gis/feeds.py
#	venv/Lib/site-packages/django/contrib/gis/forms/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/forms/fields.py
#	venv/Lib/site-packages/django/contrib/gis/forms/widgets.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/datasource.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/driver.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/envelope.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/error.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/feature.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/field.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/geometries.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/geomtype.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/layer.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/libgdal.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/ds.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/errcheck.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/generation.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/geom.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/raster.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/prototypes/srs.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/raster/band.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/raster/base.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/raster/const.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/raster/source.py
#	venv/Lib/site-packages/django/contrib/gis/gdal/srs.py
#	venv/Lib/site-packages/django/contrib/gis/geoip2/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/geoip2/base.py
#	venv/Lib/site-packages/django/contrib/gis/geoip2/resources.py
#	venv/Lib/site-packages/django/contrib/gis/geometry.py
#	venv/Lib/site-packages/django/contrib/gis/geos/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/geos/collections.py
#	venv/Lib/site-packages/django/contrib/gis/geos/coordseq.py
#	venv/Lib/site-packages/django/contrib/gis/geos/factory.py
#	venv/Lib/site-packages/django/contrib/gis/geos/geometry.py
#	venv/Lib/site-packages/django/contrib/gis/geos/io.py
#	venv/Lib/site-packages/django/contrib/gis/geos/libgeos.py
#	venv/Lib/site-packages/django/contrib/gis/geos/linestring.py
#	venv/Lib/site-packages/django/contrib/gis/geos/mutable_list.py
#	venv/Lib/site-packages/django/contrib/gis/geos/point.py
#	venv/Lib/site-packages/django/contrib/gis/geos/polygon.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prepared.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/coordseq.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/errcheck.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/geom.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/io.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/misc.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/predicates.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/prepared.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/threadsafe.py
#	venv/Lib/site-packages/django/contrib/gis/geos/prototypes/topology.py
#	venv/Lib/site-packages/django/contrib/gis/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/gis/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/gis/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/gis/locale/kk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/gis/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/gis/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/gis/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/gis/management/commands/inspectdb.py
#	venv/Lib/site-packages/django/contrib/gis/management/commands/ogrinspect.py
#	venv/Lib/site-packages/django/contrib/gis/measure.py
#	venv/Lib/site-packages/django/contrib/gis/ptr.py
#	venv/Lib/site-packages/django/contrib/gis/serializers/geojson.py
#	venv/Lib/site-packages/django/contrib/gis/shortcuts.py
#	venv/Lib/site-packages/django/contrib/gis/sitemaps/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/sitemaps/kml.py
#	venv/Lib/site-packages/django/contrib/gis/sitemaps/views.py
#	venv/Lib/site-packages/django/contrib/gis/utils/__init__.py
#	venv/Lib/site-packages/django/contrib/gis/utils/layermapping.py
#	venv/Lib/site-packages/django/contrib/gis/utils/ogrinfo.py
#	venv/Lib/site-packages/django/contrib/gis/utils/ogrinspect.py
#	venv/Lib/site-packages/django/contrib/gis/utils/srs.py
#	venv/Lib/site-packages/django/contrib/gis/views.py
#	venv/Lib/site-packages/django/contrib/humanize/apps.py
#	venv/Lib/site-packages/django/contrib/humanize/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/be/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/be/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/cs/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/cs/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/da/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/da/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/dsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/dsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/en/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/es/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/es/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/es_AR/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/es_AR/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/et/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/et/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/fi/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/fi/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/fr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/fr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/he/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/hsb/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/hsb/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/id/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/id/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/it/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/it/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/ja/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/ja/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/ky/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/ky/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/lv/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/lv/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/pl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/pl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/tr/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/tr/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/locale/zh_Hans/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/humanize/locale/zh_Hans/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/humanize/templatetags/humanize.py
#	venv/Lib/site-packages/django/contrib/messages/api.py
#	venv/Lib/site-packages/django/contrib/messages/apps.py
#	venv/Lib/site-packages/django/contrib/messages/constants.py
#	venv/Lib/site-packages/django/contrib/messages/context_processors.py
#	venv/Lib/site-packages/django/contrib/messages/middleware.py
#	venv/Lib/site-packages/django/contrib/messages/storage/base.py
#	venv/Lib/site-packages/django/contrib/messages/storage/cookie.py
#	venv/Lib/site-packages/django/contrib/messages/storage/fallback.py
#	venv/Lib/site-packages/django/contrib/messages/storage/session.py
#	venv/Lib/site-packages/django/contrib/messages/utils.py
#	venv/Lib/site-packages/django/contrib/messages/views.py
#	venv/Lib/site-packages/django/contrib/postgres/aggregates/general.py
#	venv/Lib/site-packages/django/contrib/postgres/aggregates/mixins.py
#	venv/Lib/site-packages/django/contrib/postgres/aggregates/statistics.py
#	venv/Lib/site-packages/django/contrib/postgres/apps.py
#	venv/Lib/site-packages/django/contrib/postgres/constraints.py
#	venv/Lib/site-packages/django/contrib/postgres/fields/array.py
#	venv/Lib/site-packages/django/contrib/postgres/fields/citext.py
#	venv/Lib/site-packages/django/contrib/postgres/fields/hstore.py
#	venv/Lib/site-packages/django/contrib/postgres/fields/jsonb.py
#	venv/Lib/site-packages/django/contrib/postgres/fields/ranges.py
#	venv/Lib/site-packages/django/contrib/postgres/forms/__init__.py
#	venv/Lib/site-packages/django/contrib/postgres/forms/array.py
#	venv/Lib/site-packages/django/contrib/postgres/forms/hstore.py
#	venv/Lib/site-packages/django/contrib/postgres/forms/ranges.py
#	venv/Lib/site-packages/django/contrib/postgres/functions.py
#	venv/Lib/site-packages/django/contrib/postgres/indexes.py
#	venv/Lib/site-packages/django/contrib/postgres/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/postgres/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/postgres/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/postgres/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/postgres/lookups.py
#	venv/Lib/site-packages/django/contrib/postgres/operations.py
#	venv/Lib/site-packages/django/contrib/postgres/search.py
#	venv/Lib/site-packages/django/contrib/postgres/serializers.py
#	venv/Lib/site-packages/django/contrib/postgres/signals.py
#	venv/Lib/site-packages/django/contrib/postgres/utils.py
#	venv/Lib/site-packages/django/contrib/postgres/validators.py
#	venv/Lib/site-packages/django/contrib/redirects/admin.py
#	venv/Lib/site-packages/django/contrib/redirects/apps.py
#	venv/Lib/site-packages/django/contrib/redirects/locale/af/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/af/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/ar/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/ar/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/ca/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/ca/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/de/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/de/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/el/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/el/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/et/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/et/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/gd/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/gd/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/id/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/id/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/ja/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/ja/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/kk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/kn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/lt/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/pl/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/pl/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/locale/sk/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/redirects/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/redirects/middleware.py
#	venv/Lib/site-packages/django/contrib/redirects/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/redirects/migrations/0002_alter_redirect_new_path_help_text.py
#	venv/Lib/site-packages/django/contrib/redirects/models.py
#	venv/Lib/site-packages/django/contrib/sessions/apps.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/base.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/cache.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/cached_db.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/db.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/file.py
#	venv/Lib/site-packages/django/contrib/sessions/backends/signed_cookies.py
#	venv/Lib/site-packages/django/contrib/sessions/base_session.py
#	venv/Lib/site-packages/django/contrib/sessions/exceptions.py
#	venv/Lib/site-packages/django/contrib/sessions/locale/bg/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sessions/locale/bg/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sessions/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/fa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/kk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/kn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sessions/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/lt/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sessions/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/locale/uk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sessions/management/commands/clearsessions.py
#	venv/Lib/site-packages/django/contrib/sessions/middleware.py
#	venv/Lib/site-packages/django/contrib/sessions/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/sessions/models.py
#	venv/Lib/site-packages/django/contrib/sessions/serializers.py
#	venv/Lib/site-packages/django/contrib/sitemaps/__init__.py
#	venv/Lib/site-packages/django/contrib/sitemaps/apps.py
#	venv/Lib/site-packages/django/contrib/sitemaps/management/commands/ping_google.py
#	venv/Lib/site-packages/django/contrib/sitemaps/views.py
#	venv/Lib/site-packages/django/contrib/sites/admin.py
#	venv/Lib/site-packages/django/contrib/sites/apps.py
#	venv/Lib/site-packages/django/contrib/sites/checks.py
#	venv/Lib/site-packages/django/contrib/sites/locale/en_AU/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sites/locale/en_AU/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/fa/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/he/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/ka/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/kk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/kn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sites/locale/kn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/lt/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/nn/LC_MESSAGES/django.mo
#	venv/Lib/site-packages/django/contrib/sites/locale/nn/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/sk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/locale/uk/LC_MESSAGES/django.po
#	venv/Lib/site-packages/django/contrib/sites/management.py
#	venv/Lib/site-packages/django/contrib/sites/managers.py
#	venv/Lib/site-packages/django/contrib/sites/migrations/0001_initial.py
#	venv/Lib/site-packages/django/contrib/sites/migrations/0002_alter_domain_unique.py
#	venv/Lib/site-packages/django/contrib/sites/models.py
#	venv/Lib/site-packages/django/contrib/sites/requests.py
#	venv/Lib/site-packages/django/contrib/sites/shortcuts.py
#	venv/Lib/site-packages/django/contrib/staticfiles/apps.py
#	venv/Lib/site-packages/django/contrib/staticfiles/finders.py
#	venv/Lib/site-packages/django/contrib/staticfiles/handlers.py
#	venv/Lib/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py
#	venv/Lib/site-packages/django/contrib/staticfiles/management/commands/findstatic.py
#	venv/Lib/site-packages/django/contrib/staticfiles/management/commands/runserver.py
#	venv/Lib/site-packages/django/contrib/staticfiles/storage.py
#	venv/Lib/site-packages/django/contrib/staticfiles/utils.py
#	venv/Lib/site-packages/django/contrib/staticfiles/views.py
#	venv/Lib/site-packages/django/contrib/syndication/apps.py
#	venv/Lib/site-packages/django/contrib/syndication/views.py
#	venv/Lib/site-packages/django/core/cache/__init__.py
#	venv/Lib/site-packages/django/core/cache/backends/base.py
#	venv/Lib/site-packages/django/core/cache/backends/db.py
#	venv/Lib/site-packages/django/core/cache/backends/dummy.py
#	venv/Lib/site-packages/django/core/cache/backends/filebased.py
#	venv/Lib/site-packages/django/core/cache/backends/locmem.py
#	venv/Lib/site-packages/django/core/cache/backends/memcached.py
#	venv/Lib/site-packages/django/core/cache/utils.py
#	venv/Lib/site-packages/django/core/checks/__init__.py
#	venv/Lib/site-packages/django/core/checks/async_checks.py
#	venv/Lib/site-packages/django/core/checks/caches.py
#	venv/Lib/site-packages/django/core/checks/messages.py
#	venv/Lib/site-packages/django/core/checks/model_checks.py
#	venv/Lib/site-packages/django/core/checks/registry.py
#	venv/Lib/site-packages/django/core/checks/security/base.py
#	venv/Lib/site-packages/django/core/checks/security/csrf.py
#	venv/Lib/site-packages/django/core/checks/security/sessions.py
#	venv/Lib/site-packages/django/core/checks/templates.py
#	venv/Lib/site-packages/django/core/checks/translation.py
#	venv/Lib/site-packages/django/core/checks/urls.py
#	venv/Lib/site-packages/django/core/exceptions.py
#	venv/Lib/site-packages/django/core/files/__init__.py
#	venv/Lib/site-packages/django/core/files/base.py
#	venv/Lib/site-packages/django/core/files/images.py
#	venv/Lib/site-packages/django/core/files/locks.py
#	venv/Lib/site-packages/django/core/files/move.py
#	venv/Lib/site-packages/django/core/files/storage.py
#	venv/Lib/site-packages/django/core/files/temp.py
#	venv/Lib/site-packages/django/core/files/uploadedfile.py
#	venv/Lib/site-packages/django/core/files/uploadhandler.py
#	venv/Lib/site-packages/django/core/files/utils.py
#	venv/Lib/site-packages/django/core/handlers/asgi.py
#	venv/Lib/site-packages/django/core/handlers/base.py
#	venv/Lib/site-packages/django/core/handlers/exception.py
#	venv/Lib/site-packages/django/core/handlers/wsgi.py
#	venv/Lib/site-packages/django/core/mail/__init__.py
#	venv/Lib/site-packages/django/core/mail/backends/base.py
#	venv/Lib/site-packages/django/core/mail/backends/console.py
#	venv/Lib/site-packages/django/core/mail/backends/filebased.py
#	venv/Lib/site-packages/django/core/mail/backends/locmem.py
#	venv/Lib/site-packages/django/core/mail/backends/smtp.py
#	venv/Lib/site-packages/django/core/mail/message.py
#	venv/Lib/site-packages/django/core/mail/utils.py
#	venv/Lib/site-packages/django/core/management/__init__.py
#	venv/Lib/site-packages/django/core/management/base.py
#	venv/Lib/site-packages/django/core/management/color.py
#	venv/Lib/site-packages/django/core/management/commands/check.py
#	venv/Lib/site-packages/django/core/management/commands/compilemessages.py
#	venv/Lib/site-packages/django/core/management/commands/createcachetable.py
#	venv/Lib/site-packages/django/core/management/commands/dbshell.py
#	venv/Lib/site-packages/django/core/management/commands/diffsettings.py
#	venv/Lib/site-packages/django/core/management/commands/dumpdata.py
#	venv/Lib/site-packages/django/core/management/commands/flush.py
#	venv/Lib/site-packages/django/core/management/commands/inspectdb.py
#	venv/Lib/site-packages/django/core/management/commands/loaddata.py
#	venv/Lib/site-packages/django/core/management/commands/makemessages.py
#	venv/Lib/site-packages/django/core/management/commands/makemigrations.py
#	venv/Lib/site-packages/django/core/management/commands/migrate.py
#	venv/Lib/site-packages/django/core/management/commands/runserver.py
#	venv/Lib/site-packages/django/core/management/commands/sendtestemail.py
#	venv/Lib/site-packages/django/core/management/commands/shell.py
#	venv/Lib/site-packages/django/core/management/commands/showmigrations.py
#	venv/Lib/site-packages/django/core/management/commands/sqlflush.py
#	venv/Lib/site-packages/django/core/management/commands/sqlmigrate.py
#	venv/Lib/site-packages/django/core/management/commands/sqlsequencereset.py
#	venv/Lib/site-packages/django/core/management/commands/squashmigrations.py
#	venv/Lib/site-packages/django/core/management/commands/startapp.py
#	venv/Lib/site-packages/django/core/management/commands/startproject.py
#	venv/Lib/site-packages/django/core/management/commands/test.py
#	venv/Lib/site-packages/django/core/management/commands/testserver.py
#	venv/Lib/site-packages/django/core/management/sql.py
#	venv/Lib/site-packages/django/core/management/templates.py
#	venv/Lib/site-packages/django/core/management/utils.py
#	venv/Lib/site-packages/django/core/paginator.py
#	venv/Lib/site-packages/django/core/serializers/__init__.py
#	venv/Lib/site-packages/django/core/serializers/base.py
#	venv/Lib/site-packages/django/core/serializers/json.py
#	venv/Lib/site-packages/django/core/serializers/jsonl.py
#	venv/Lib/site-packages/django/core/serializers/python.py
#	venv/Lib/site-packages/django/core/serializers/pyyaml.py
#	venv/Lib/site-packages/django/core/serializers/xml_serializer.py
#	venv/Lib/site-packages/django/core/servers/basehttp.py
#	venv/Lib/site-packages/django/core/signing.py
#	venv/Lib/site-packages/django/core/validators.py
#	venv/Lib/site-packages/django/db/__init__.py
#	venv/Lib/site-packages/django/db/backends/base/base.py
#	venv/Lib/site-packages/django/db/backends/base/client.py
#	venv/Lib/site-packages/django/db/backends/base/creation.py
#	venv/Lib/site-packages/django/db/backends/base/features.py
#	venv/Lib/site-packages/django/db/backends/base/introspection.py
#	venv/Lib/site-packages/django/db/backends/base/operations.py
#	venv/Lib/site-packages/django/db/backends/base/schema.py
#	venv/Lib/site-packages/django/db/backends/base/validation.py
#	venv/Lib/site-packages/django/db/backends/ddl_references.py
#	venv/Lib/site-packages/django/db/backends/dummy/base.py
#	venv/Lib/site-packages/django/db/backends/mysql/base.py
#	venv/Lib/site-packages/django/db/backends/mysql/client.py
#	venv/Lib/site-packages/django/db/backends/mysql/compiler.py
#	venv/Lib/site-packages/django/db/backends/mysql/creation.py
#	venv/Lib/site-packages/django/db/backends/mysql/features.py
#	venv/Lib/site-packages/django/db/backends/mysql/introspection.py
#	venv/Lib/site-packages/django/db/backends/mysql/operations.py
#	venv/Lib/site-packages/django/db/backends/mysql/schema.py
#	venv/Lib/site-packages/django/db/backends/mysql/validation.py
#	venv/Lib/site-packages/django/db/backends/oracle/base.py
#	venv/Lib/site-packages/django/db/backends/oracle/client.py
#	venv/Lib/site-packages/django/db/backends/oracle/creation.py
#	venv/Lib/site-packages/django/db/backends/oracle/features.py
#	venv/Lib/site-packages/django/db/backends/oracle/functions.py
#	venv/Lib/site-packages/django/db/backends/oracle/introspection.py
#	venv/Lib/site-packages/django/db/backends/oracle/operations.py
#	venv/Lib/site-packages/django/db/backends/oracle/schema.py
#	venv/Lib/site-packages/django/db/backends/oracle/utils.py
#	venv/Lib/site-packages/django/db/backends/oracle/validation.py
#	venv/Lib/site-packages/django/db/backends/postgresql/base.py
#	venv/Lib/site-packages/django/db/backends/postgresql/client.py
#	venv/Lib/site-packages/django/db/backends/postgresql/creation.py
#	venv/Lib/site-packages/django/db/backends/postgresql/features.py
#	venv/Lib/site-packages/django/db/backends/postgresql/introspection.py
#	venv/Lib/site-packages/django/db/backends/postgresql/operations.py
#	venv/Lib/site-packages/django/db/backends/postgresql/schema.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/base.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/client.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/creation.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/features.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/introspection.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/operations.py
#	venv/Lib/site-packages/django/db/backends/sqlite3/schema.py
#	venv/Lib/site-packages/django/db/backends/utils.py
#	venv/Lib/site-packages/django/db/migrations/autodetector.py
#	venv/Lib/site-packages/django/db/migrations/exceptions.py
#	venv/Lib/site-packages/django/db/migrations/executor.py
#	venv/Lib/site-packages/django/db/migrations/graph.py
#	venv/Lib/site-packages/django/db/migrations/loader.py
#	venv/Lib/site-packages/django/db/migrations/migration.py
#	venv/Lib/site-packages/django/db/migrations/operations/__init__.py
#	venv/Lib/site-packages/django/db/migrations/operations/base.py
#	venv/Lib/site-packages/django/db/migrations/operations/fields.py
#	venv/Lib/site-packages/django/db/migrations/operations/models.py
#	venv/Lib/site-packages/django/db/migrations/operations/special.py
#	venv/Lib/site-packages/django/db/migrations/optimizer.py
#	venv/Lib/site-packages/django/db/migrations/questioner.py
#	venv/Lib/site-packages/django/db/migrations/recorder.py
#	venv/Lib/site-packages/django/db/migrations/serializer.py
#	venv/Lib/site-packages/django/db/migrations/state.py
#	venv/Lib/site-packages/django/db/migrations/utils.py
#	venv/Lib/site-packages/django/db/migrations/writer.py
#	venv/Lib/site-packages/django/db/models/__init__.py
#	venv/Lib/site-packages/django/db/models/aggregates.py
#	venv/Lib/site-packages/django/db/models/base.py
#	venv/Lib/site-packages/django/db/models/constants.py
#	venv/Lib/site-packages/django/db/models/constraints.py
#	venv/Lib/site-packages/django/db/models/deletion.py
#	venv/Lib/site-packages/django/db/models/enums.py
#	venv/Lib/site-packages/django/db/models/expressions.py
#	venv/Lib/site-packages/django/db/models/fields/__init__.py
#	venv/Lib/site-packages/django/db/models/fields/files.py
#	venv/Lib/site-packages/django/db/models/fields/json.py
#	venv/Lib/site-packages/django/db/models/fields/mixins.py
#	venv/Lib/site-packages/django/db/models/fields/proxy.py
#	venv/Lib/site-packages/django/db/models/fields/related.py
#	venv/Lib/site-packages/django/db/models/fields/related_descriptors.py
#	venv/Lib/site-packages/django/db/models/fields/related_lookups.py
#	venv/Lib/site-packages/django/db/models/fields/reverse_related.py
#	venv/Lib/site-packages/django/db/models/functions/__init__.py
#	venv/Lib/site-packages/django/db/models/functions/comparison.py
#	venv/Lib/site-packages/django/db/models/functions/datetime.py
#	venv/Lib/site-packages/django/db/models/functions/math.py
#	venv/Lib/site-packages/django/db/models/functions/mixins.py
#	venv/Lib/site-packages/django/db/models/functions/text.py
#	venv/Lib/site-packages/django/db/models/functions/window.py
#	venv/Lib/site-packages/django/db/models/indexes.py
#	venv/Lib/site-packages/django/db/models/lookups.py
#	venv/Lib/site-packages/django/db/models/manager.py
#	venv/Lib/site-packages/django/db/models/options.py
#	venv/Lib/site-packages/django/db/models/query.py
#	venv/Lib/site-packages/django/db/models/query_utils.py
#	venv/Lib/site-packages/django/db/models/signals.py
#	venv/Lib/site-packages/django/db/models/sql/__init__.py
#	venv/Lib/site-packages/django/db/models/sql/compiler.py
#	venv/Lib/site-packages/django/db/models/sql/constants.py
#	venv/Lib/site-packages/django/db/models/sql/datastructures.py
#	venv/Lib/site-packages/django/db/models/sql/query.py
#	venv/Lib/site-packages/django/db/models/sql/subqueries.py
#	venv/Lib/site-packages/django/db/models/sql/where.py
#	venv/Lib/site-packages/django/db/models/utils.py
#	venv/Lib/site-packages/django/db/transaction.py
#	venv/Lib/site-packages/django/db/utils.py
#	venv/Lib/site-packages/django/dispatch/dispatcher.py
#	venv/Lib/site-packages/django/forms/boundfield.py
#	venv/Lib/site-packages/django/forms/fields.py
#	venv/Lib/site-packages/django/forms/forms.py
#	venv/Lib/site-packages/django/forms/formsets.py
#	venv/Lib/site-packages/django/forms/jinja2/django/forms/widgets/multiple_input.html
#	venv/Lib/site-packages/django/forms/models.py
#	venv/Lib/site-packages/django/forms/renderers.py
#	venv/Lib/site-packages/django/forms/templates/django/forms/widgets/multiple_input.html
#	venv/Lib/site-packages/django/forms/utils.py
#	venv/Lib/site-packages/django/forms/widgets.py
#	venv/Lib/site-packages/django/http/__init__.py
#	venv/Lib/site-packages/django/http/cookie.py
#	venv/Lib/site-packages/django/http/multipartparser.py
#	venv/Lib/site-packages/django/http/request.py
#	venv/Lib/site-packages/django/http/response.py
#	venv/Lib/site-packages/django/middleware/cache.py
#	venv/Lib/site-packages/django/middleware/clickjacking.py
#	venv/Lib/site-packages/django/middleware/common.py
#	venv/Lib/site-packages/django/middleware/csrf.py
#	venv/Lib/site-packages/django/middleware/gzip.py
#	venv/Lib/site-packages/django/middleware/http.py
#	venv/Lib/site-packages/django/middleware/locale.py
#	venv/Lib/site-packages/django/middleware/security.py
#	venv/Lib/site-packages/django/shortcuts.py
#	venv/Lib/site-packages/django/template/__init__.py
#	venv/Lib/site-packages/django/template/autoreload.py
#	venv/Lib/site-packages/django/template/backends/base.py
#	venv/Lib/site-packages/django/template/backends/django.py
#	venv/Lib/site-packages/django/template/backends/dummy.py
#	venv/Lib/site-packages/django/template/backends/jinja2.py
#	venv/Lib/site-packages/django/template/backends/utils.py
#	venv/Lib/site-packages/django/template/base.py
#	venv/Lib/site-packages/django/template/context.py
#	venv/Lib/site-packages/django/template/context_processors.py
#	venv/Lib/site-packages/django/template/defaultfilters.py
#	venv/Lib/site-packages/django/template/defaulttags.py
#	venv/Lib/site-packages/django/template/engine.py
#	venv/Lib/site-packages/django/template/exceptions.py
#	venv/Lib/site-packages/django/template/library.py
#	venv/Lib/site-packages/django/template/loader.py
#	venv/Lib/site-packages/django/template/loader_tags.py
#	venv/Lib/site-packages/django/template/loaders/app_directories.py
#	venv/Lib/site-packages/django/template/loaders/base.py
#	venv/Lib/site-packages/django/template/loaders/cached.py
#	venv/Lib/site-packages/django/template/loaders/filesystem.py
#	venv/Lib/site-packages/django/template/loaders/locmem.py
#	venv/Lib/site-packages/django/template/response.py
#	venv/Lib/site-packages/django/template/smartif.py
#	venv/Lib/site-packages/django/template/utils.py
#	venv/Lib/site-packages/django/templatetags/cache.py
#	venv/Lib/site-packages/django/templatetags/i18n.py
#	venv/Lib/site-packages/django/templatetags/l10n.py
#	venv/Lib/site-packages/django/templatetags/static.py
#	venv/Lib/site-packages/django/templatetags/tz.py
#	venv/Lib/site-packages/django/test/__init__.py
#	venv/Lib/site-packages/django/test/client.py
#	venv/Lib/site-packages/django/test/html.py
#	venv/Lib/site-packages/django/test/runner.py
#	venv/Lib/site-packages/django/test/selenium.py
#	venv/Lib/site-packages/django/test/signals.py
#	venv/Lib/site-packages/django/test/testcases.py
#	venv/Lib/site-packages/django/test/utils.py
#	venv/Lib/site-packages/django/urls/__init__.py
#	venv/Lib/site-packages/django/urls/base.py
#	venv/Lib/site-packages/django/urls/conf.py
#	venv/Lib/site-packages/django/urls/converters.py
#	venv/Lib/site-packages/django/urls/resolvers.py
#	venv/Lib/site-packages/django/urls/utils.py
#	venv/Lib/site-packages/django/utils/_os.py
#	venv/Lib/site-packages/django/utils/archive.py
#	venv/Lib/site-packages/django/utils/asyncio.py
#	venv/Lib/site-packages/django/utils/autoreload.py
#	venv/Lib/site-packages/django/utils/baseconv.py
#	venv/Lib/site-packages/django/utils/cache.py
#	venv/Lib/site-packages/django/utils/connection.py
#	venv/Lib/site-packages/django/utils/crypto.py
#	venv/Lib/site-packages/django/utils/datastructures.py
#	venv/Lib/site-packages/django/utils/dateformat.py
#	venv/Lib/site-packages/django/utils/dateparse.py
#	venv/Lib/site-packages/django/utils/dates.py
#	venv/Lib/site-packages/django/utils/datetime_safe.py
#	venv/Lib/site-packages/django/utils/deconstruct.py
#	venv/Lib/site-packages/django/utils/decorators.py
#	venv/Lib/site-packages/django/utils/deprecation.py
#	venv/Lib/site-packages/django/utils/duration.py
#	venv/Lib/site-packages/django/utils/encoding.py
#	venv/Lib/site-packages/django/utils/feedgenerator.py
#	venv/Lib/site-packages/django/utils/formats.py
#	venv/Lib/site-packages/django/utils/functional.py
#	venv/Lib/site-packages/django/utils/hashable.py
#	venv/Lib/site-packages/django/utils/html.py
#	venv/Lib/site-packages/django/utils/http.py
#	venv/Lib/site-packages/django/utils/inspect.py
#	venv/Lib/site-packages/django/utils/ipv6.py
#	venv/Lib/site-packages/django/utils/jslex.py
#	venv/Lib/site-packages/django/utils/log.py
#	venv/Lib/site-packages/django/utils/lorem_ipsum.py
#	venv/Lib/site-packages/django/utils/module_loading.py
#	venv/Lib/site-packages/django/utils/numberformat.py
#	venv/Lib/site-packages/django/utils/regex_helper.py
#	venv/Lib/site-packages/django/utils/safestring.py
#	venv/Lib/site-packages/django/utils/termcolors.py
#	venv/Lib/site-packages/django/utils/text.py
#	venv/Lib/site-packages/django/utils/timesince.py
#	venv/Lib/site-packages/django/utils/timezone.py
#	venv/Lib/site-packages/django/utils/topological_sort.py
#	venv/Lib/site-packages/django/utils/translation/__init__.py
#	venv/Lib/site-packages/django/utils/translation/reloader.py
#	venv/Lib/site-packages/django/utils/translation/template.py
#	venv/Lib/site-packages/django/utils/translation/trans_real.py
#	venv/Lib/site-packages/django/utils/tree.py
#	venv/Lib/site-packages/django/utils/version.py
#	venv/Lib/site-packages/django/utils/xmlutils.py
#	venv/Lib/site-packages/django/views/__init__.py
#	venv/Lib/site-packages/django/views/csrf.py
#	venv/Lib/site-packages/django/views/debug.py
#	venv/Lib/site-packages/django/views/decorators/cache.py
#	venv/Lib/site-packages/django/views/decorators/clickjacking.py
#	venv/Lib/site-packages/django/views/decorators/common.py
#	venv/Lib/site-packages/django/views/decorators/csrf.py
#	venv/Lib/site-packages/django/views/decorators/debug.py
#	venv/Lib/site-packages/django/views/decorators/http.py
#	venv/Lib/site-packages/django/views/decorators/vary.py
#	venv/Lib/site-packages/django/views/defaults.py
#	venv/Lib/site-packages/django/views/generic/__init__.py
#	venv/Lib/site-packages/django/views/generic/base.py
#	venv/Lib/site-packages/django/views/generic/dates.py
#	venv/Lib/site-packages/django/views/generic/detail.py
#	venv/Lib/site-packages/django/views/generic/edit.py
#	venv/Lib/site-packages/django/views/generic/list.py
#	venv/Lib/site-packages/django/views/i18n.py
#	venv/Lib/site-packages/django/views/static.py
#	venv/Lib/site-packages/django/views/templates/technical_500.html
#	venv/Lib/site-packages/django/views/templates/technical_500.txt
#	venv/Lib/site-packages/pytz-2022.1.dist-info/INSTALLER
#	venv/Lib/site-packages/simpleui-4.0.2-py3.9.egg-info/requires.txt
#	venv/Scripts/django-admin.exe
2022-05-06 19:17:46 +08:00
ladeng07 b0cec0ae6d Create README.md 2022-05-06 16:23:24 +08:00
ladeng07 f91991662b 增加了log基本配置 2022-05-06 16:19:42 +08:00
ladeng07 51552904f9 测试gitnore 2022-05-06 15:45:57 +08:00
ladeng07 12f390949b Merge branch 'shine' of https://gitee.com/ladeng07/ITShowPlatform
 Conflicts:
	Apps/enroll/admin.py
	ITShowPlatform/.gitignore
2022-05-05 23:12:26 +08:00
ladeng07 11d93d2edd 又一次合并 2022-05-05 23:05:20 +08:00
ladeng07 dd4608007c 又一次合并 2022-05-05 23:01:56 +08:00
ygm1881 ece69eaf57 更改enroll命名,添加了注释,向get_error_msg中添加了一些错误代码 2022-05-05 22:59:35 +08:00
shineahead bbd4691646 work 2022-05-05 22:57:41 +08:00
ladeng07 da0dcb333e gggg 2022-05-05 22:51:50 +08:00
ladeng07 e8e5904b90 gggg 2022-05-05 22:47:03 +08:00
ladeng07 455ed9f189 Merge remote-tracking branch 'gitee/master'
# Conflicts:
#	.idea/workspace.xml
2022-05-05 22:44:24 +08:00
shineahead c8e35b0e1e work 2022-05-05 22:23:25 +08:00
shineahead 018c67c0b1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/workspace.xml
#	ITShowPlatform/settings.py
2022-05-05 22:18:22 +08:00
shineahead c5874e8f6a works的app 2022-05-05 22:00:31 +08:00
ladeng07 83c29b0ebf 测试一下gitignore 2022-05-05 21:09:22 +08:00
ladeng07 068266e225 Merge remote-tracking branch 'gitee/master'
# Conflicts:
#	.idea/workspace.xml
2022-05-05 21:06:03 +08:00
ladeng07 97d4a6041d 增加了util里的get_error_msg 2022-05-05 21:03:22 +08:00
ygm1881 51b5e374a3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/workspace.xml
2022-05-05 20:40:19 +08:00
ygm1881 3472f7e00e 更改enroll命名,添加了注释,向get_error_msg中添加了一些错误代码 2022-05-05 20:38:54 +08:00
康家辉 dd14308c35 添加错误码和注释 2022-05-05 19:26:23 +08:00
康家辉 776feb9fb6 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/workspace.xml
2022-05-05 19:22:20 +08:00
康家辉 66ea27faee 添加错误码和注释 2022-05-05 19:21:33 +08:00
康家辉 de468764b4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/workspace.xml
2022-05-05 19:00:42 +08:00
康家辉 45a3e4a3a9 添加错误码和注释 2022-05-05 18:59:29 +08:00
ladeng07 7fa3281a5f 增加了util里的get_error_msg 2022-05-05 18:57:35 +08:00
ladeng07 5ca57df452 重构了app 2022-05-05 18:32:19 +08:00
康家辉 19440fe0e2 修改了部门详情的model,
添加了对数据库数据输出前的格式验证
2022-04-30 22:37:50 +08:00
康家辉 14a75d3fdd 完善了一下serializers 2022-04-29 20:03:28 +08:00
ladeng07 b6a66a1457 第一次合并+上线
修改了history路由
2022-04-27 21:56:01 +08:00
ladeng07 d5f618351a Merge remote-tracking branch 'gitee/master'
# Conflicts:
#	.idea/misc.xml
#	.idea/workspace.xml
2022-04-26 00:24:28 +08:00
康家辉 e455e1aabc 1 2022-04-24 17:58:03 +08:00
康家辉 7d06e64645 1 2022-04-24 17:56:23 +08:00
ladeng07 49c0c3dabc Merge remote-tracking branch 'remotes/gitee/enroll'
# Conflicts:
#	ITShowPlatform/settings.py
#	ITShowPlatform/urls.py
2022-04-24 15:24:19 +08:00
ladeng07 a2a794cca4 修改+合并前的提交 2022-04-24 15:23:24 +08:00
ygm1881 177441d2d1 enroll app修改 2022-04-21 22:07:26 +08:00
ygm1881 f82e77e932 enroll app修改 2022-04-21 21:47:42 +08:00
ygm1881 16b2e3cf8e enroll app修改 2022-04-21 21:39:13 +08:00
ladeng07 0178776c12 fix 2022-04-17 17:31:54 +08:00
ladeng07 83815ec267 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.idea/workspace.xml
2022-04-17 17:25:07 +08:00
康家辉 2a0bae7af2 1 2022-04-17 17:22:44 +08:00
ladeng07 d07fd3c977 55 2022-04-17 17:20:45 +08:00
ladeng07 dc8cd012a4 Delete it.iml 2022-04-17 16:59:22 +08:00
ladeng07 273f9b5bcf Delete IT_Show.iml 2022-04-17 16:59:13 +08:00
ladeng07 db21bf77ac 小改 2022-04-17 16:58:21 +08:00
ladeng07 a8f1cd8ef2 终于合并了55555 2022-04-17 16:08:27 +08:00
ladeng07 b2c34886a4 Initial commit 2022-04-17 15:46:21 +08:00
shineahead febe17d539 弹幕接口和历史接口 2022-04-17 15:44:54 +08:00
mgy1881 3c0c328fae Update settings.py
null
2022-04-17 15:44:50 +08:00
mgy1881 a5815e5ccb mgy 2022-04-17 15:44:50 +08:00
ygm1881 fcf592258a mgy 2022-04-17 15:44:50 +08:00
ygm1881 3773b043f4 4.16night 2022-04-17 15:44:50 +08:00
ygm1881 d8d21473a1 save 2022-04-17 15:44:34 +08:00
66 changed files with 1131 additions and 449 deletions
+3
View File
@@ -0,0 +1,3 @@
.idea/
venv/
config.ini
-8
View File
@@ -1,8 +0,0 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
-30
View File
@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="FacetManager">
<facet type="django" name="Django">
<configuration>
<option name="rootFolder" value="$MODULE_DIR$" />
<option name="settingsModule" value="ITShowPlatform/settings.py" />
<option name="manageScript" value="$MODULE_DIR$/manage.py" />
<option name="environment" value="&lt;map/&gt;" />
<option name="doNotUseTestRunner" value="false" />
<option name="trackFilePattern" value="migrations" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TemplatesService">
<option name="TEMPLATE_CONFIGURATION" value="Django" />
<option name="TEMPLATE_FOLDERS">
<list>
<option value="$MODULE_DIR$/../ITShowPlatform\templates" />
</list>
</option>
</component>
</module>
-23
View File
@@ -1,23 +0,0 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoredPackages">
<value>
<list size="3">
<item index="0" class="java.lang.String" itemvalue="Pillow" />
<item index="1" class="java.lang.String" itemvalue="PyMySQL" />
<item index="2" class="java.lang.String" itemvalue="Django" />
</list>
</value>
</option>
</inspection_tool>
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="N801" />
</list>
</option>
</inspection_tool>
</profile>
</component>
-6
View File
@@ -1,6 +0,0 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
-4
View File
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (ITShowPlatform)" project-jdk-type="Python SDK" />
</project>
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/ITShowPlatform.iml" filepath="$PROJECT_DIR$/.idea/ITShowPlatform.iml" />
</modules>
</component>
</project>
Generated
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
+135 -23
View File
@@ -11,44 +11,58 @@ https://docs.djangoproject.com/en/4.0/ref/settings/
""" """
from pathlib import Path from pathlib import Path
import os
import configparser
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent
conf = configparser.RawConfigParser()
conf.read(os.path.join(BASE_DIR, "config.ini"), encoding="utf-8")
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret! # SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-@i80$q(g*+fof5(s2&^r#1=2+(@f=#=1$6!7&90=8v8lxg!y8h' SECRET_KEY = conf.get("Django", "SECRET_KEY"),
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = ["*"]
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'corsheaders',
'simpleui',
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'enroll',
'rest_framework', 'rest_framework',
'apps.enroll',
'apps.history',
'apps.comments',
'apps.work',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware', 'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware', 'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware', #'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
] ]
ROOT_URLCONF = 'ITShowPlatform.urls' ROOT_URLCONF = 'ITShowPlatform.urls'
@@ -56,7 +70,7 @@ ROOT_URLCONF = 'ITShowPlatform.urls'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR / 'templates'] 'DIRS': [os.path.join(BASE_DIR, 'templates')]
, ,
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
@@ -72,18 +86,15 @@ TEMPLATES = [
WSGI_APPLICATION = 'ITShowPlatform.wsgi.application' WSGI_APPLICATION = 'ITShowPlatform.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases # https://docs.djangoproject.com/en/4.0/ref/settings/#databases
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': conf.get("database","ENGINE"),
'NAME': 'it_show', 'NAME': conf.get("database","NAME"),
'USER': 'root', 'USER': conf.get("database","USER"),
'PASSWORD': '123456', 'PASSWORD': conf.get("database","PASSWORD"),
'HOST': '127.0.0.1',
'PORT': 3306,
} }
} }
@@ -106,33 +117,134 @@ AUTH_PASSWORD_VALIDATORS = [
}, },
] ]
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/4.0/topics/i18n/ # https://docs.djangoproject.com/en/4.0/topics/i18n/
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'zh-Hans'
TIME_ZONE = 'Asia/Shanghai' TIME_ZONE = 'Asia/Shanghai'
USE_I18N = True USE_I18N = True
# USE_TZ = True USE_L10N = True
USE_TZ = False
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.0/howto/static-files/ # https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
EMAIL_HOST = "smtp.qq.com" # 服务器 REST_FRAMEWORK = {
EMAIL_PORT = 465 'DEFAULT_RENDERER_CLASSES': ( # 默认响应渲染类
EMAIL_HOST_USER = "2302253692@qq.com" # 账号 'rest_framework.renderers.JSONRenderer', # json渲染器
EMAIL_HOST_PASSWORD = "idujbpdlpgbmdhjg" # 密码 (注意:这里的密码指的是授权码) 'rest_framework.renderers.BrowsableAPIRenderer', # 浏览API渲染器
EMAIL_USE_SSL = True # 一般都为False )
EMAIL_FROM = "2302253692@qq.com" # 邮箱来自 }
EMAIL_HOST = conf.get('email',"EMAIL_HOST") # 服务器
EMAIL_PORT = conf.get("email","EMAIL_PORT")
EMAIL_HOST_USER = conf.get("email","EMAIL_HOST_USER") # 账号
EMAIL_HOST_PASSWORD = conf.get("email","EMAIL_HOST_PASSWORD") # 密码 (注意:这里的密码指的是授权码)
EMAIL_USE_SSL = conf.get("email","EMAIL_USE_SSL") # 一般都为False
EMAIL_FROM = conf.get("email","EMAIL_FROM") # 邮箱来自
ADMINS = (
('ladeng', '2312936963@qq.com'),
)
MANAGERS = ADMINS
# 创建log文件的文件夹
LOG_DIR = os.path.join(BASE_DIR, "logs")
if not os.path.exists(LOG_DIR):
os.mkdir(LOG_DIR)
# 基本配置,可以复用的
LOGGING = {
"version": 1,
"disable_existing_loggers": False, # 禁用已经存在的logger实例
"filters": {"require_debug_false": {"()": "django.utils.log.RequireDebugFalse"}},
"formatters": { # 定义了两种日志格式
"verbose": { # 详细
"format": "%(levelname)s %(asctime)s %(module)s "
"%(process)d %(thread)d %(message)s"
},
'simple': { # 简单
'format': '[%(levelname)s][%(asctime)s][%(filename)s:%(lineno)d]%(message)s'
},
},
"handlers": { # 定义了三种日志处理方式
"mail_admins": { # 只有debug=False且Error级别以上发邮件给admin
"level": "ERROR",
"filters": ["require_debug_false"],
"class": "django.utils.log.AdminEmailHandler",
},
'file': { # 对INFO级别以上信息以日志文件形式保存
'level': "INFO",
'class': 'logging.handlers.RotatingFileHandler', # 滚动生成日志,切割
'filename': os.path.join(LOG_DIR, 'django.log'), # 日志文件名
'maxBytes': 1024 * 1024 * 10, # 单个日志文件最大为10M
'backupCount': 5, # 日志备份文件最大数量
'formatter': 'simple', # 简单格式
'encoding': 'utf-8', # 放置中文乱码
},
"console": { # 打印到终端console
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "verbose",
},
},
"root": {"level": "INFO", "handlers": ["console"]},
"loggers": {
"django.request": { # Django的request发生error会自动记录
"handlers": ["mail_admins"],
"level": "ERROR",
"propagate": True, # 向不向更高级别的logger传递
},
"django.security.DisallowedHost": { # 对于不在 ALLOWED_HOSTS 中的请求不发送报错邮件
"level": "ERROR",
"handlers": ["console", "mail_admins"],
"propagate": True,
},
},
}
CORS_ALLOW_CREDENTIALS = True
CORS_ORIGIN_ALLOW_ALL = True
CORS_ORIGIN_WHITELIST = (
['http://127.0.0.1:*']
)
CORS_ALLOW_METHODS = (
'DELETE',
'GET',
'OPTIONS',
'PATCH',
'POST',
'PUT',
'VIEW',
)
CORS_ALLOW_HEADERS = (
'XMLHttpRequest',
'X_FILENAME',
'accept-encoding',
'authorization',
'content-type',
'dnt',
'origin',
'user-agent',
'x-csrftoken',
'x-requested-with',
'Pragma',
)
+9 -2
View File
@@ -14,9 +14,16 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path, include from django.urls import path, re_path, include
from django.views.static import serve
from ITShowPlatform import settings
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('', include("enroll.urls")) path('v1/api/', include('apps.comments.urls')),
path('v1/api/', include('apps.history.urls')),
path('v1/api/', include('apps.enroll.urls')),
path('v1/api/', include('apps.work.urls')),
path(r'^api-auth/', include('rest_framework.urls')),
re_path(r'^media/(?P<path>.*)', serve, {"document_root": settings.MEDIA_ROOT}),
] ]
+54
View File
@@ -0,0 +1,54 @@
# 爱特展示网
这次我们负责的项目是爱特展示网,后端接口要求如下:
虽然这次接口数量不是很多,且多为GET请求。但是这次的成品会面向**22级新生**。主要的问题如下:
- 访问量和访问数据很大
- 考验服务器和cdn加速的能力
- 后端对报名信息和弹幕的合法性验证,
- 接口各种异常信息
- 信息的处理和储存
- Admin管理页面的优化
- 等等
关于接口访问频率,目前暂定是**每秒三次**
HTTP状态码规范:
- 200 请求成功
- 400 请求失败
- 404 找不到资源
- 500 服务器超时
- .......
具体状态码与报错信息绑定,且唯一确定,需要增加新的错误代码时需要在这里和工具函数里添加
> 410XX 缺少某些参数
> 420XX 传入数据格式不合法
> 430XX 某些参数已存在
> 440XX 传入参数错误
> 450XX 访问资源不存在
> 50XXX 服务器方面错误
- 20000 成功
- 50000 意外错误
- 50403 Forbidden
- 40000 请求方法错误
- 40001 JSON解析错误
- 45030 信息不存在
- 45032 邮箱验证码过期
- 44031 邮箱验证码错误
- 44032 请先发送验证码
- 43032 该邮箱已存在
- 43033 该手机号码已存在
- 42033 手机号码不合规
- 42034 姓名过长
- 42035 说的太多啦
- 42032 邮箱过长
- 44033 请勿频繁发送验证码
- 44036 请输入正确格式的邮箱
- 42001 弹幕含有非法字符
- 42002 弹幕过长
- 42003 输入不能为空
- 45004 获取的评论数为零
- 45005 获取的部门作品数为零
- 42006 不合法年级输入
大概规范就是这些,还有尽量使用DRF的类视图,还有学长的Django-Util,命名尽量使用下划线+小写字母
+5
View File
@@ -0,0 +1,5 @@
from django.contrib import admin
from .models import Comments
# Register your models here.
admin.site.register(Comments)
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class CommentsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.comments'
+13
View File
@@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
class Comments(models.Model):
class Meta:
verbose_name_plural=u"弹幕内容"
post_time = models.DateTimeField(verbose_name="发布时间")
content = models.CharField(verbose_name="弹幕内容", max_length=50, blank=False)
+28
View File
@@ -0,0 +1,28 @@
from rest_framework import serializers
from .models import *
from utils.get_msg import get_msg
class CommentsInfo(serializers.ModelSerializer):
class Meta:
model = Comments
fields = ['id', 'content', 'post_time']
post_time = serializers.DateTimeField(label="发布时间", required=False)
content = serializers.CharField(label="弹幕内容", max_length=50, required=True)
def validate_content(self, value):
ban = ['!', '@', '#', '$', '%', '^', '&', '*', '(', ')', "_", "-"]
for i in ban:
if i in value:
raise serializers.ValidationError(code='40002', detail={'msg': get_msg(40002),
"code": '40002'})
if len(value) > 50:
raise serializers.ValidationError(code='40003', detail=get_msg(40003))
elif len(value) == 0:
raise serializers.ValidationError(code='40004', detail=get_msg(40004))
return value
+8
View File
@@ -0,0 +1,8 @@
from django.urls import path
from . import views
urlpatterns = [
path('comment/', views.CommentView.as_view()),
]
+57
View File
@@ -0,0 +1,57 @@
import time, datetime
from django.conf import settings
import re
from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.response import Response
from .models import *
from .serializers import CommentsInfo
from django.utils import timezone
from utils.get_msg import get_msg
from django.views.decorators.csrf import csrf_exempt
# Create your views here.
class CommentView(APIView):
"""获取弹幕的内容"""
def get(self, request):
data = {}
queryset = Comments.objects.all()
serializer = CommentsInfo(queryset, many=True)
try:
data['data'] = serializer.data
except:
data['msg'] = serializer.error_messages
if len(data['data']) == 0:
"""如果没有获取到数据"""
data['msg'] = get_msg(40005)
data['code'] = 40005
else:
data['msg'] = get_msg(20000)
data['code'] = 20000
return Response(data=data)
"""接收新弹幕"""
@csrf_exempt
def post(self, request):
data = {}
serializer = CommentsInfo(data=request.data)
if not serializer.is_valid(raise_exception=True):
data['msg'] = get_msg(50000)
data['code'] = 50000
return Response(data=data)
try:
length = serializer.validated_data['content']
data['msg'] = "success"
data['code'] = 20000
except KeyError:
data['code'] = 42003
data['msg'] = get_msg(42003)
return Response(data=data)
"""时间不用保存到毫秒"""
serializer.validated_data['post_time'] = timezone.now().replace(microsecond=0)
serializer.save()
data['data'] = serializer.validated_data
return Response(data=data)
View File
+55
View File
@@ -0,0 +1,55 @@
from django.contrib import admin
from .models import *
# Register your models here.
# class DepartmentAdmin(admin.ModelAdmin):
# # 定制哪些字段需要展示
# list_display = ('id', 'name', 'picture')
#
# # sortable_by # 排序
#
# list_editable = ('name', 'picture',)
#
#
# list_per_page = 10
#
#
# list_max_show_all = 200 # default
#
#
# search_fields = ['title']
#
# # date_hierarchy = 'create_date'
#
# '''默认空值'''
# empty_value_display = 'NA'
#
# '''过滤选项'''
# list_filter = ()
class New_memberAdmin(admin.ModelAdmin):
# 定制哪些字段需要展示
list_display = ('id', 'name', 'picture')
# sortable_by # 排序
list_editable = ('name', 'picture',)
list_per_page = 10
list_max_show_all = 200 # default
search_fields = ['title']
# date_hierarchy = 'create_date'
'''默认空值'''
empty_value_display = 'NA'
'''过滤选项'''
list_filter = ()
# admin.site.register(Department ,DepartmentAdmin)
admin.site.register(NewMember)
# admin.site.register(EmailVerifyRecord)
+1 -1
View File
@@ -3,4 +3,4 @@ from django.apps import AppConfig
class EnrollConfig(AppConfig): class EnrollConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField' default_auto_field = 'django.db.models.BigAutoField'
name = 'enroll' name = 'apps.enroll'
+53
View File
@@ -0,0 +1,53 @@
from pathlib import Path
from random import Random # 用于生成随机码
from django.core.mail import send_mail # 发送邮件模块
from apps.enroll.models import EmailVerifyRecord # 邮箱验证model
from django.conf import settings # setting.py添加的的配置信息
import random
import os
BASE_DIR = Path(__file__).resolve().parent.parent
# 生成随机字符串
def random_str(randomlength=8):
"""
随机字符串
:param randomlength: 字符串长度
:return: String 类型字符串
"""
str = ''
chars = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789'
length = len(chars) - 1
random = Random()
for i in range(randomlength):
str += chars[random.randint(0, length)]
return str
# 发送电子邮件
def send_code_email(email):
"""
发送电子邮件
:param email: 要发送的邮箱
:return: True/False
"""
email_record = EmailVerifyRecord()
# 将给用户发的信息保存在数据库中
code = "".join([str(random.randint(0, 9)) for i in range(4)])
email_record.code = code
email_record.email = email
email_record.save()
# 初始化为空
email_title = ""
email_body = ""
email_title = "注册激活"
# file = open("/email_body")
file = open(os.path.join(BASE_DIR, "enroll", "email_body"))
email_body = str(file.read).format(code)
# 发送邮件
send_status = send_mail(email_title, email_body, settings.EMAIL_FROM, [email])
if not send_status:
return False
return True
+1
View File
@@ -0,0 +1 @@
您的邮箱注册验证码为:{0}, 该验证码有效时间为两分钟,请及时进行验证。
View File
+75
View File
@@ -0,0 +1,75 @@
from django.db import models
# Create your models here.
# class Department(models.Model):
# class Meta:
# verbose_name_plural = u"部门信息"
#
# # department_cn = [
# # (0, "系统维护"),
# # (1, "APP开发"),
# # (2, "Web开发"),
# # (3, "程序开发"),
# # (4, "游戏开发"),
# # (5, "UI设计")
# # ]
# # id = models.IntegerField(verbose_name="部门ID", choices=department_cn, primary_key=True)
# name = models.CharField(max_length=10, verbose_name="部门名称")
# picture = models.ImageField(verbose_name="部门图标")
#
# def __str__(self):
# return self.name
class NewMember(models.Model):
class Meta:
verbose_name_plural = u"报名信息"
schedules = [
(1, "已报名"),
(2, "初审中"),
(3, "面试中"),
(4, "笔试中"),
(5, "成功录取"),
(6, "初审失败"),
(7, "面试失败"),
(8, "笔试失败"),
(9, "复试失败"),
(10, "未录取")
]
departments = [
(0, "系统维护"),
(1, "APP开发"),
(2, "Web开发"),
(3, "程序开发"),
(4, "游戏开发"),
(5, "UI设计")
]
sex = [
(0, ""),
(1, ""),
(2, "保密")
]
name = models.CharField(max_length=20, verbose_name="姓名")
sex = models.SmallIntegerField(choices=sex, default=2, verbose_name="性别")
major = models.CharField(max_length=20, verbose_name="年级专业")
phone_number = models.CharField(max_length=11, unique=True, verbose_name="手机号码")
email = models.EmailField(unique=True, verbose_name="邮箱")
department = models.SmallIntegerField(choices=departments, default=0,
verbose_name="意向部门")
expectation = models.TextField(max_length=200, verbose_name="期待的话")
status = models.SmallIntegerField(choices=schedules, default=0, verbose_name="报名状态")
def __str__(self):
return self.name
class EmailVerifyRecord(models.Model):
# 验证码
code = models.CharField(max_length=5, verbose_name="验证码")
email = models.EmailField(max_length=50, verbose_name="邮箱")
# 包含注册验证和找回验证
# send_type = models.CharField(verbose_name="验证码类型", max_length=10,
# choices=(("register", "注册"), ("forget", "找回密码")))
send_time = models.DateTimeField(verbose_name="发送时间", auto_now_add=True)
@@ -1,68 +1,82 @@
from rest_framework import serializers from rest_framework import serializers
from rest_framework.response import Response
from rest_framework.validators import UniqueValidator from rest_framework.validators import UniqueValidator
from enroll.models import Department, New_member, EmailVerifyRecord from apps.enroll.models import NewMember, EmailVerifyRecord
from apps.history.models import Department
import time import time
from utils.get_msg import get_msg
class Department_serializer(serializers.ModelSerializer): class DepartmentSerializer(serializers.ModelSerializer):
"""获取部门信息"""
class Meta: class Meta:
model = Department model = Department
fields = "__all__" fields = ["department_cn", "picture"]
class New_member_serializer(serializers.ModelSerializer): class NewMemberSerializer(serializers.ModelSerializer):
"""用于添加新成员时的校验与序列化"""
# verification_code = serializers.CharField(source="verification_code.code") # verification_code = serializers.CharField(source="verification_code.code")
email = serializers.EmailField(validators=[ email = serializers.EmailField(validators=[
UniqueValidator( UniqueValidator(
queryset=New_member.objects.all(), queryset=NewMember.objects.all(),
message="该邮箱已存在" message=get_msg(43032)
) )
]) ])
phone_number = serializers.CharField(validators=[ phone_number = serializers.CharField(validators=[
UniqueValidator( UniqueValidator(
queryset=New_member.objects.all(), queryset=NewMember.objects.all(),
message="该手机号码已存在" message=get_msg(43033)
), ),
], ],
max_length=11, error_messages={"max_length": "手机号码不合规"} max_length=11, error_messages={"max_length": get_msg(42033)}
) )
class Meta: class Meta:
model = New_member model = NewMember
exclude = ["id", "schedule"] exclude = ["id", "status"]
extra_kwargs = { extra_kwargs = {
"name": { "name": {
"error_messages": { "error_messages": {
"max_length": "姓名过长" "max_length": get_msg(42034)
} }
}, },
"major": { "major": {
"error_messages": { "error_messages": {
"max_length": "文字过长" "max_length": get_msg(42035)
}
},
"department_cn": {
"error_messages": {
"invalid_choice": get_msg(42036)
} }
}, },
} }
class New_member_schedule_serializer(serializers.ModelSerializer): class NewMemberScheduleSerializer(serializers.ModelSerializer):
"""获取成员录取状态信息的序列化器"""
class Meta: class Meta:
model = New_member model = NewMember
fields = ["name", "email", "schedule"] fields = ["name", "email", "status"]
class Send_email_serializer(serializers.Serializer): class SendEmailSerializer(serializers.Serializer):
"""发送邮件时校验用序列化器"""
# code = serializers.CharField(max_length=10) # code = serializers.CharField(max_length=10)
email = serializers.EmailField(max_length=50, email = serializers.EmailField(max_length=50,
validators=[UniqueValidator( validators=[UniqueValidator(
queryset=New_member.objects.all(), queryset=NewMember.objects.all(),
message="该邮箱已存在")], message=get_msg(43032))],
error_messages={"max_length": "邮箱过长", "invalid": "请输入正确格式的邮箱"}) error_messages={"max_length": get_msg(42032), "invalid": get_msg(44036)})
def validate_email(self, data): def validate_email(self, data):
# print(data)
try: try:
oj = EmailVerifyRecord.objects.get(email=data) oj = EmailVerifyRecord.objects.get(email=data)
# print(oj.email)/ # print(oj.email)/
@@ -71,7 +85,7 @@ class Send_email_serializer(serializers.Serializer):
now = time.time() now = time.time()
# print(f"now={now},send={send_time}") # print(f"now={now},send={send_time}")
if now - send_time < 120: if now - send_time < 120:
raise serializers.ValidationError(code="verification_code", detail="请勿频繁发送验证码") raise serializers.ValidationError(code="verification_code", detail=get_msg(44033))
else: else:
# print(oj.email) # print(oj.email)
oj.delete() oj.delete()
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+11
View File
@@ -0,0 +1,11 @@
from django.urls import path
from . import views
# from rest_framework.routers import DefaultRouter
urlpatterns = [
path("department_cn/", views.DepartmentMessageView.as_view()),
path("sign_up/", views.SignUpView.as_view()),
path("sign_up/verification_code/", views.SendEmailView.as_view()),
# path("sign_up/<string:pk>", views.Sign_in.as_view({"get": "get"}))
]
+104
View File
@@ -0,0 +1,104 @@
from rest_framework.response import Response
from rest_framework.generics import GenericAPIView
from apps.history.models import Department
from apps.enroll.models import EmailVerifyRecord, NewMember
from apps.enroll.serializers import DepartmentSerializer, NewMemberSerializer, NewMemberScheduleSerializer, \
SendEmailSerializer
from rest_framework import status
from rest_framework.views import APIView
from apps.enroll.email import send_code_email
from django.views.decorators.csrf import csrf_exempt
from utils.get_msg import get_msg
import re
import time
class DepartmentMessageView(GenericAPIView):
"""获取部门信息"""
queryset = Department.objects.all()
serializer_class = DepartmentSerializer
def get(self, request):
serializer = self.get_serializer(instance=self.get_queryset(), many=True)
# print(request.query_params)
if request.query_params:
return Response({"code": 40000, "msg": get_msg("40000")})
return Response({"code": 20000, "msg": get_msg("20000"), "data": serializer.data})
class SignUpView(GenericAPIView):
"""
新成员报名
post:提交新学员信息
get:根据邮箱及手机号获取成员录取状态
"""
serializer_class = NewMemberSerializer
queryset = NewMember.objects.all()
@csrf_exempt
def post(self, request):
data = request.data
serializer = self.get_serializer(data=data)
code = data['verification_code']
ret = serializer.is_valid(raise_exception=False)
if ret:
# print(f"code={code}")
try:
oj = EmailVerifyRecord.objects.get(email=data['email'])
send_time = str(oj.send_time).split('+')[0].split('.')[0]
send_time = time.mktime(time.strptime(send_time, '%Y-%m-%d %X'))
now = time.time()
if now - send_time > 120:
return Response(
{"code": 40000, "msg": {"verification_code": get_msg(45032)}},
status=status.HTTP_400_BAD_REQUEST)
if code != oj.code:
return Response({"code": 45031, "msg": {"verification_code": get_msg(44031)}},
status=status.HTTP_400_BAD_REQUEST)
except EmailVerifyRecord.DoesNotExist:
return Response({"code": 44032, "msg": {"verification_code": get_msg(44032)}},
status=status.HTTP_400_BAD_REQUEST)
serializer.save()
return Response({"code": 20000, "msg": get_msg(20000)})
else:
error = {}
for (i, j) in zip(serializer.errors.keys(), serializer.errors.values()):
error[str(i)] = str(j[0])
return Response({"code": 40000, "msg": error}, status=status.HTTP_400_BAD_REQUEST)
def get(self, request):
string = request.query_params.get('string', '')
try:
if re.match('^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$', string):
queryset = self.get_queryset().get(email=string)
elif re.match('^(13[0-9]|14[5|7]|15[0|1|2|3|4|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$', string):
queryset = self.get_queryset().get(phone_number=string)
else:
queryset = self.get_queryset().get(id=-1)
except NewMember.DoesNotExist:
return Response({"code": 40000, "msg": get_msg(45030)})
serializer = NewMemberScheduleSerializer(instance=queryset)
return Response({"code": 20000, "msg": get_msg(20000), "data": serializer.data})
class SendEmailView(APIView):
"""发送邮件"""
@csrf_exempt
def post(self, request):
data = request.data
serializer = SendEmailSerializer(data=data)
# code_serializer = Code_email_serializer()
ret = serializer.is_valid()
if ret:
# serializer.save()
send_code_email(data.get("email"))
return Response({"code": 20000, "msg": get_msg(20000)})
else:
error = {}
for (i, j) in zip(serializer.errors.keys(), serializer.errors.values()):
error[str(i)] = str(j[0])
return Response({"code": 40000, "msg": error}, status=status.HTTP_400_BAD_REQUEST)
View File
+8
View File
@@ -0,0 +1,8 @@
from django.contrib import admin
from .models import *
admin.site.register(Department)
admin.site.register(History)
admin.site.register(Members)
#admin.site.register(DepartmentName)
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class TodoListConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.history'
View File
+63
View File
@@ -0,0 +1,63 @@
from django.db import models
from django.core.validators import MaxValueValidator, MinValueValidator
from datetime import datetime
GRADE_CHOICES = (
(2003, 2003), (2004, 2004), (2005, 2005), (2006, 2006), (2007, 2007), (2008, 2008), (2009, 2009),
(2010, 2010), (2011, 2011), (2012, 2012), (2013, 2013), (2014, 2014), (2015, 2015), (2016, 2016),
(2017, 2017), (2018, 2018), (2019, 2019), (2020, 2020), (2021, 2021)
)
class Department(models.Model):
id = models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='部门ID')
# did = models.IntegerField("部门ID")
department_cn = models.CharField("部门名称", max_length=10) # 如“程序部”
department_en = models.CharField("部门英文名称", max_length=30) # 如“程序部”
picture = models.ImageField(verbose_name="部门图标", default=0)
content = models.CharField("内容", max_length=800) # 如部门介绍/部门要求
introduction = models.CharField("介绍", max_length=800) # 如部门介绍/部门要求
status = models.SmallIntegerField("部门状态", choices=[(0, "解散"), (1, "健在")], default=1)
class Meta:
db_table = 'it_Department'
verbose_name_plural = '部门详情'
def __str__(self):
return self.department_cn
class History(models.Model):
# grade = models.IntegerField("年级")
years = models.IntegerField("年份", default=int(datetime.now().strftime('%Y')), validators=[
MaxValueValidator(2300),
MinValueValidator(2010)
])
# did = models.IntegerField("部门ID")
# did = models.ForeignKey(Department, on_delete=models.DO_NOTHING(), related_name="history", verbose_name="部门id")
# department_cn = models.CharField("部门", max_length=10) # 如“程序部”
department = models.ForeignKey(Department, on_delete=models.DO_NOTHING, related_name="history", verbose_name="部门")
class Meta:
db_table = 'it_History'
verbose_name_plural = '历史表'
def __str__(self):
return self.department
class Members(models.Model):
# 默认id作为成员id
avatar = models.ImageField("头像", upload_to="avatar", blank=True)
# did = models.IntegerField("所属部门ID", default=0)
grade = models.IntegerField("年级", choices=GRADE_CHOICES)
name = models.CharField("成员姓名", max_length=10)
motto = models.CharField("座右铭", max_length=30)
# department_cn = models.CharField("所属部门", max_length=10)
department = models.ForeignKey(Department, on_delete=models.DO_NOTHING, related_name="member",
verbose_name="所属部门")
class Meta:
db_table = 'it_Members'
verbose_name_plural = '部门成员'
+116
View File
@@ -0,0 +1,116 @@
import re
from rest_framework import serializers
from apps.history import *
from apps.history.models import Department, Members, History
def validate_department(value):
reg = re.compile(r'^[\u4e00-\u9fa5A-Za-z]*$')
if not reg.match(value):
raise serializers.ValidationError("42011-部门名称中只能输入汉字或英文")
def validate_department_en(value):
reg = re.compile(r'^[A-Za-z][A-Za-z\s]*$')
if not reg.match(value):
raise serializers.ValidationError("42010-部门英文名称中只能输入英文")
def name_validate(value):
reg = re.compile(r'^[\u4e00-\u9fa5A-Za-z]*$')
if not reg.match(value):
raise serializers.ValidationError("42012-姓名只能输入汉字或英文")
#
# def validate_avatar(value):
# s = str(value)
# return s
class DepartmentSerializer(serializers.Serializer):
did = serializers.IntegerField(required=True, error_messages={"blank": '41010-部门ID不能为空', "invalid": '42020-类型错误'})
department = serializers.CharField(max_length=10, required=True, trim_whitespace=True,
validators=[validate_department],
error_messages={"max_length": '42021-部门名称长度过长', "blank": '41011-部门名称不能为空'})
department_en = serializers.CharField(max_length=30, required=True, trim_whitespace=True,
validators=[validate_department_en],
error_messages={"max_length": '42022-部门英文名称长度过长',
"blank": '41012-部门英文名称不能为空'})
content = serializers.CharField(max_length=800, required=True, trim_whitespace=True,
error_messages={"max_length": '42023-内容过长', "blank": '41013-内容不能为空'})
introduction = serializers.CharField(max_length=800, required=True, trim_whitespace=True,
error_messages={"max_length": '42024-介绍内容过长', "blank": '41014-介绍内容不能为空'})
# class Meta:
# model = Department
# fields = ('did', 'department_en', 'department', 'part', 'title', 'content')
def create(self, validated_data):
return Department.objects.create(**validated_data)
def update(self, instance, validated_data):
instance.content = validated_data.get("content", instance.content)
instance.department = validated_data.get("department", instance.department)
instance.department_en = validated_data.get("department_en", instance.department_en)
instance.id = validated_data.get("id", instance.id)
instance.title = validated_data.get("title", instance.title)
instance.part = validated_data.get("part", instance.part)
instance.save()
return instance
class MembersSerializer(serializers.HyperlinkedModelSerializer):
did = serializers.IntegerField(required=True, error_messages={"blank": '41010-部门ID不能为空', "invalid": '42020-类型错误'})
department = serializers.CharField(max_length=10, required=True, trim_whitespace=True,
error_messages={"max_length": '42021-部门名称过长', "blank": '41011-部门名称不能为空'})
grade = serializers.IntegerField(required=True, min_value=2001, max_value=2022,
error_messages={"max_value": '42025-年级数过大', "blank": "41015-年级数不能为空",
"min_value": '42026-年级数过小'})
name = serializers.CharField(required=True, trim_whitespace=True, max_length=6,
error_messages={"blank": '41016-姓名不能为空', "max_length": '42027-姓名过长'})
motto = serializers.CharField(required=False, trim_whitespace=True, max_length=25, validators=[name_validate],
error_messages={"max_length": '42028-座右铭过长'})
# avatar = serializers.ImageField(validators=[validate_avatar])
class Meta:
model = Members
fields = ('did', 'department', 'grade', 'name', 'motto')
def create(self, validated_data):
return Members.objects.create(**validated_data)
def update(self, instance, validated_data):
instance.did = validated_data.get("did", instance.did)
instance.department = validated_data.get("department", instance.department)
instance.grade = validated_data.get("grade", instance.grade)
instance.name = validated_data.get("name", instance.name)
instance.motto = validated_data.get("motto", instance.motto)
instance.avatar = validated_data.get("avatar", instance.avatar)
instance.save()
return instance
class HistorySerializer(serializers.Serializer):
grade = serializers.IntegerField(required=True, min_value=2001, max_value=2022,
error_messages={"max_value": '42025-年级数过大', "blank": "41015-年级数不能为空",
"min_value": '42026-年级数过小'})
did = serializers.IntegerField(required=True, error_messages={"blank": '41010-部门ID不能为空', "invalid": '42020-类型错误'})
department = serializers.CharField(max_length=10, required=True, trim_whitespace=True,
validators=[validate_department],
error_messages={"max_length": '42021-部门名称过长', "blank": '41011-部门名称不能为空'})
# class Meta:
# model = History
# fields = ('grade', 'did', 'department')
#
def create(self, validated_data):
return History.objects.create(**validated_data)
def update(self, instance, validated_data):
instance.department = validated_data.get("department", instance.department)
instance.grade = validated_data.get("grade", instance.grade)
instance.did = validated_data.get("did", instance.did)
instance.save()
return instance
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+10
View File
@@ -0,0 +1,10 @@
from django.conf.urls.static import static
from ITShowPlatform import settings
from django.urls import path
from apps.history.views import DepartmentViewSet, MemberViewSet, HistoryViewSet
urlpatterns = [
path('department_cn/', DepartmentViewSet.as_view()),
path('member/', MemberViewSet.as_view()),
path('history/', HistoryViewSet.as_view()),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
+108
View File
@@ -0,0 +1,108 @@
from rest_framework.views import APIView
from apps.history import *
from rest_framework.response import Response
from django.db.models import Q
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from apps.history.models import Members, History, Department
from apps.history.serializers import MembersSerializer, HistorySerializer, DepartmentSerializer
class DepartmentViewSet(APIView):
# 获取部门信息
@method_decorator(csrf_exempt)
def get(self, request):
response = {
"code": 20000,
"msg": "成功",
}
obj = Department.objects.all().filter(id=request.GET.get('did')).first() # 获取符合did的DepartmentObject
# (默认每个部门只对应一个object)
d = {'did': obj.id, 'department_cn': obj.department_cn, 'department_en': obj.department_en, 'content': obj.content,
'introduction': obj.introduction} # 将其转为字典类(用于放入serializer检验)
serializer = DepartmentSerializer(data=d)
if serializer.is_valid():
response['data'] = serializer.data # 在data里返回想得到的信息
return Response(data=response)
key = list(serializer.errors.keys())[0] # 得到错误信息的keys中的第一个key
# 用一个key得到一个错误信息,一个错误信息中的错误码与detail用“-”隔开, 通过split分开
value = str(list(serializer.errors.get(key))[0]).split("-")
response['code'] = int(value[0])
response['msg'] = value[1]
return Response(data=response)
class MemberViewSet(APIView):
# 获取历史成员信息
@method_decorator(csrf_exempt)
def get(self, request):
response = {
"code": 20000,
"msg": "成功",
}
grade = request.GET.get('grade')
did = request.GET.get('did')
queryset = Members.objects.all().filter(Q(department_id=did) & Q(grade=grade)) # 获得所有符合要求的object
l = [] # 建一个列表用于存储最终输出的data
# 对符合要求的每一个object都转为字典并通过serializer检验数据是否合法
for x in queryset:
avatar = str(x.avatar)
if avatar == '':
avatar = "default/user.jpg"
# 将符合要求的一个object都转为字典
d = {'id': x.id, 'did': x.did, 'grade': x.grade, 'department_cn': x.department_cn, 'motto': x.motto,
'name': x.name,
'avatar': avatar} # 将路径转为字符串格式
serializer = MembersSerializer(data=d)
if serializer.is_valid():
l.append(d) # 将合法数据存入l列表中并继续进行下一个循环
continue
# 若出现不合法数据则将错误信息返回前端
key = list(serializer.errors.keys())[0] # 得到错误信息的keys中的第一个key
# 用一个key得到一个错误信息,一个错误信息中的错误码与detail用“-”隔开, 通过split分开
value = str(list(serializer.errors.get(key))[0]).split("-")
response['code'] = int(value[0])
response['msg'] = value[1]
return Response(data=response)
response['data'] = l
return Response(data=response)
class HistoryViewSet(APIView):
# 获取历史列表
@method_decorator(csrf_exempt)
def get(self, request):
response = {
"code": 20000,
"msg": "成功",
}
history_list = History.objects.all() # 获取全部历史列表信息
# 同上,对每一个object进行判断
for x in history_list:
d = {'did': x.department_id, 'grade': x.grade, 'department_cn': x.department_cn}
serializer = HistorySerializer(data=d)
if serializer.is_valid():
continue
key = list(serializer.errors.keys())[0] # 得到错误信息的keys中的第一个key
# 用一个key得到一个错误信息,一个错误信息中的错误码与detail用“-”隔开, 通过split分开
value = str(list(serializer.errors.get(key))[0]).split("-")
response['code'] = int(value[0])
response['msg'] = value[1]
return Response(data=response)
# 若数据通过判断,则在此处将数据转为要求格式
info = []
for i in range(2002, 2022):
data = {'grade': i}
y = []
for j in range(0, 6):
try:
a = History.objects.get(Q(department_id=j) & Q(grade=i))
except History.DoesNotExist: # 若为空,则继续判断下一个部门
continue
x = {'id': a.department_id, 'department_name': a.department_cn}
y.append(x)
data['data'] = y
info.append(data)
response["data"] = info
return Response(data=response)
View File
+4 -1
View File
@@ -1,3 +1,6 @@
from django.contrib import admin from django.contrib import admin
from .models import Works
# Register your models here. # Register your models here.
admin.site.register(Works)
+6
View File
@@ -0,0 +1,6 @@
from django.apps import AppConfig
class WorksConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.work'
+27
View File
@@ -0,0 +1,27 @@
# Generated by Django 3.2.5 on 2022-05-07 01:48
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Works',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('grade', models.IntegerField(verbose_name='年份')),
('name', models.CharField(max_length=30, verbose_name='事件名称')),
('description', models.CharField(max_length=200, verbose_name='事件描述')),
('img', models.ImageField(blank=True, null=True, upload_to='image', verbose_name='图片')),
],
options={
'verbose_name_plural': '部门作品',
},
),
]
@@ -0,0 +1,18 @@
# Generated by Django 3.2.5 on 2022-05-05 21:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('work', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='works',
name='img',
field=models.ImageField(blank=True, null=True, upload_to='image', verbose_name='图片'),
),
]
View File
+13
View File
@@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
class Works(models.Model):
class Meta:
verbose_name_plural=u"部门作品"
grade = models.IntegerField(verbose_name="年份")
name = models.CharField(verbose_name="事件名称", max_length=30)
description = models.CharField(verbose_name="事件描述", max_length=200)
img = models.ImageField(verbose_name="图片", upload_to="image", null=True, blank=True)
+21
View File
@@ -0,0 +1,21 @@
from rest_framework import serializers
from .models import *
class WorksInfoSerializer(serializers.ModelSerializer):
class Meta:
model = Works
fields = '__all__'
grade = serializers.CharField(label="年级", required=True)
name = serializers.CharField(label="事件名称", max_length=30, required=True)
description = serializers.CharField(label="事件描述", max_length=200, required=True)
img = serializers.ImageField(label="图片", required=False)
"""用来校验传入年级是否符合规范"""
def validate_grade(self, value):
if not (2002 < value <= 2021):
raise serializers.ValidationError(code='42006', detail={'msg': get_msg(42006),
"code": '42006'})
return value
+3
View File
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+13
View File
@@ -0,0 +1,13 @@
from django.contrib import admin
from django.urls import path
from . import views
from django.conf.urls.static import static
from ITShowPlatform import settings
urlpatterns = [
path('work/', views.Work.as_view()),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
+42
View File
@@ -0,0 +1,42 @@
import time
from django.conf import settings
import re
from django.shortcuts import render
from rest_framework.views import APIView
from rest_framework.response import Response
from .models import Works
from .serializers import WorksInfoSerializer
from utils.get_msg import get_msg
import logging
# Create your views here.
class Work(APIView):
"""获取社团历年的作品"""
def get(self, request):
key = []
data = {"data": key}
for i in range(2002, 2022):
"""temp用来存储每个年级的作品,方便区分年级"""
temp = {}
try:
works_set = Works.objects.filter(grade=i)
if works_set:
serializer = WorksInfoSerializer(works_set, many=True)
temp['grade'] = i
temp['data'] = serializer.data
data['data'].append(temp)
except Exception:
"""如果没有查到数据"""
pass
if len(data['data']) == 0:
"""如果查找的数据为空"""
data['code'] = 45005
data['msg'] = get_msg(45005)
else:
data['code'] = 20000
data['msg'] = get_msg(20000)
return Response(data=data)
-59
View File
@@ -1,59 +0,0 @@
from random import Random # 用于生成随机码
from django.core.mail import send_mail # 发送邮件模块
from enroll.models import EmailVerifyRecord # 邮箱验证model
from django.conf import settings # setting.py添加的的配置信息
import random
# 生成随机字符串
def random_str(randomlength=8):
"""
随机字符串
:param randomlength: 字符串长度
:return: String 类型字符串
"""
str = ''
chars = 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789'
length = len(chars) - 1
random = Random()
for i in range(randomlength):
str += chars[random.randint(0, length)]
return str
# 发送电子邮件
def send_code_email(email, send_type="register"):
"""
发送电子邮件
:param email: 要发送的邮箱
:param send_type: 邮箱类型
:return: True/False
"""
email_record = EmailVerifyRecord()
# 将给用户发的信息保存在数据库中
code = "".join([str(random.randint(0, 9)) for i in range(4)])
email_record.code = code
email_record.email = email
# email_record.send_type = send_type
# email_record.send_time = time.time()
email_record.save()
# 初始化为空
email_title = ""
email_body = ""
# 如果为注册类型
# if send_type == "register":
# email_title = "注册激活"
# # email_body = "请点击下面的链接激活你的账号:http://127.0.0.1:8000/active/{0}".format(code)
# email_body = "您的邮箱注册验证码为:{0}, 该验证码有效时间为两分钟,请及时进行验证。".format(code)
# # 发送邮件
# send_status = send_mail(email_title, email_body, settings.EMAIL_FROM, [email])
# if not send_status:
# return False
if send_type == "retrieve":
email_title = "找回密码"
email_body = "您的邮箱注册验证码为:{0}, 该验证码有效时间为两分钟,请及时进行验证。".format(code)
# 发送邮件
send_status = send_mail(email_title, email_body, settings.EMAIL_FROM, [email])
if not send_status:
return False
return True
-46
View File
@@ -1,46 +0,0 @@
# Generated by Django 4.0.4 on 2022-04-15 17:46
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Department',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=10, verbose_name='部门名称')),
('picture', models.ImageField(upload_to='', verbose_name='部门图标')),
],
),
migrations.CreateModel(
name='EmailVerifyRecord',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('code', models.CharField(max_length=20, verbose_name='验证码')),
('email', models.EmailField(max_length=50, verbose_name='邮箱')),
('send_time', models.DateTimeField(auto_now=True, verbose_name='发送时间')),
],
),
migrations.CreateModel(
name='New_member',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=20, verbose_name='姓名')),
('major', models.CharField(max_length=20, verbose_name='年级专业')),
('phone_number', models.CharField(max_length=11, verbose_name='手机号码')),
('email', models.EmailField(max_length=254, verbose_name='邮箱')),
('department', models.CharField(max_length=10, verbose_name='意向部门')),
('expectation', models.CharField(max_length=10, verbose_name='期待的话')),
('schedule', models.SmallIntegerField(choices=[(0, '尚未提交'), (1, '已报名'), (2, '初审中'), (3, '面试中'), (4, '笔试中'), (5, '成功录取'), (-1, '初审失败'), (-2, '面试失败'), (-3, '笔试失败'), (-4, '复试失败'), (-5, '未录取')], verbose_name='报名状态')),
('verification_code', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='enroll.emailverifyrecord', verbose_name='邮箱验证码')),
],
),
]
@@ -1,23 +0,0 @@
# Generated by Django 4.0.4 on 2022-04-15 18:20
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('enroll', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='new_member',
name='schedule',
field=models.SmallIntegerField(choices=[(0, '尚未提交'), (1, '已报名'), (2, '初审中'), (3, '面试中'), (4, '笔试中'), (5, '成功录取'), (-1, '初审失败'), (-2, '面试失败'), (-3, '笔试失败'), (-4, '复试失败'), (-5, '未录取')], default=0, verbose_name='报名状态'),
),
migrations.AlterField(
model_name='new_member',
name='verification_code',
field=models.CharField(max_length=4),
),
]
@@ -1,23 +0,0 @@
# Generated by Django 4.0.4 on 2022-04-16 06:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('enroll', '0002_alter_new_member_schedule_and_more'),
]
operations = [
migrations.AlterField(
model_name='new_member',
name='email',
field=models.EmailField(max_length=254, unique=True, verbose_name='邮箱'),
),
migrations.AlterField(
model_name='new_member',
name='phone_number',
field=models.CharField(max_length=11, unique=True, verbose_name='手机号码'),
),
]
-57
View File
@@ -1,57 +0,0 @@
from django.db import models
# Create your models here.
class Department(models.Model):
# department = [
# (0, "系统维护"),
# (1, "APP开发"),
# (2, "Web开发"),
# (3, "程序开发"),
# (4, "游戏开发"),
# (5, "UI设计")
# ]
# id = models.IntegerField(verbose_name="部门ID", choices=department, primary_key=True)
name = models.CharField(max_length=10, verbose_name="部门名称")
picture = models.ImageField(verbose_name="部门图标")
def __str__(self):
return self.name
class New_member(models.Model):
schedules = [
(0, "尚未提交"),
(1, "已报名"),
(2, "初审中"),
(3, "面试中"),
(4, "笔试中"),
(5, "成功录取"),
(-1, "初审失败"),
(-2, "面试失败"),
(-3, "笔试失败"),
(-4, "复试失败"),
(-5, "未录取")
]
name = models.CharField(max_length=20, verbose_name="姓名")
major = models.CharField(max_length=20, verbose_name="年级专业")
phone_number = models.CharField(max_length=11, unique=True, verbose_name="手机号码")
email = models.EmailField(unique=True, verbose_name="邮箱")
department = models.CharField(max_length=10, verbose_name="意向部门")
expectation = models.CharField(max_length=10, verbose_name="期待的话")
schedule = models.SmallIntegerField(choices=schedules, default=0, verbose_name="报名状态")
# verification_code = models.ForeignKey("EmailVerifyRecord", on_delete=models.DO_NOTHING, verbose_name="邮箱验证码")
verification_code = models.CharField(max_length=4)
def __str__(self):
return self.name
class EmailVerifyRecord(models.Model):
# 验证码
code = models.CharField(max_length=5, verbose_name="验证码")
email = models.EmailField(max_length=50, verbose_name="邮箱")
# 包含注册验证和找回验证
# send_type = models.CharField(verbose_name="验证码类型", max_length=10,
# choices=(("register", "注册"), ("forget", "找回密码")))
send_time = models.DateTimeField(verbose_name="发送时间", auto_now_add=True)
-16
View File
@@ -1,16 +0,0 @@
from django.contrib import admin
from django.urls import path, include
from . import views
# from rest_framework.routers import DefaultRouter
urlpatterns = [
path("department/", views.Department_message.as_view()),
path("sign_up/", views.Sign_up.as_view()),
path("sign_up/verification_code/", views.Send_email.as_view()),
# path("sign_up/<string:pk>", views.Sign_in.as_view({"get": "get"}))
]
# router = DefaultRouter()
# router.register("sign_in", views.Sign_in, "sign_in")
# urlpatterns += router.urls
-89
View File
@@ -1,89 +0,0 @@
from rest_framework.response import Response
from rest_framework.generics import GenericAPIView
from enroll.models import Department, EmailVerifyRecord, New_member
from enroll.serializer import Department_serializer, New_member_serializer, New_member_schedule_serializer, \
Send_email_serializer
from rest_framework import status
from rest_framework.views import APIView
from enroll.email import send_code_email
import re
import time
class Department_message(GenericAPIView):
queryset = Department.objects.all()
serializer_class = Department_serializer
def get(self, request):
serializer = self.get_serializer(instance=self.get_queryset(), many=True)
# print(request.query_params)
if request.query_params:
return Response({"code": 40000, "msg": "请求失败"})
return Response({"code": 20000, "msg": "成功", "data": serializer.data}, status=status.HTTP_200_OK)
class Sign_up(GenericAPIView):
serializer_class = New_member_serializer
queryset = New_member.objects.all()
def post(self, request):
data = request.data
serializer = self.get_serializer(data=data)
code = data['verification_code']
print(f"code={code}")
try:
oj = EmailVerifyRecord.objects.get(email=data['email'])
send_time = str(oj.send_time).split('+')[0].split('.')[0]
send_time = time.mktime(time.strptime(send_time, '%Y-%m-%d %X'))
now = time.time()
if now - send_time > 120:
return Response(
{"code": 40000, "msg": {"verification_code": "邮箱验证码过期"}},
status=status.HTTP_400_BAD_REQUEST)
if code != oj.code:
return Response({"code": 40000, "msg": {"verification_code": "邮箱验证码错误"}},
status=status.HTTP_400_BAD_REQUEST)
except EmailVerifyRecord.DoesNotExist:
return Response({"code": 40000, "msg": {"verification_code": "请先发送验证码"}},
status=status.HTTP_400_BAD_REQUEST)
ret = serializer.is_valid(raise_exception=False)
if ret:
serializer.save()
return Response({"code": 20000, "msg": "成功"})
else:
error = {}
for (i, j) in zip(serializer.errors.keys(), serializer.errors.values()):
error[str(i)] = str(j[0])
return Response({"code": 40000, "msg": error}, status=status.HTTP_400_BAD_REQUEST)
def get(self, request):
string = request.query_params.get('string', '')
try:
if re.match('^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$', string):
queryset = self.get_queryset().get(email=string)
elif re.match('^(13[0-9]|14[5|7]|15[0|1|2|3|4|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$', string):
queryset = self.get_queryset().get(phone_number=string)
else:
queryset = self.get_queryset().get(id=-1)
except New_member.DoesNotExist:
return Response({"code": 40000, "msg": "信息不存在"})
serializer = New_member_schedule_serializer(instance=queryset)
return Response({"code": 20000, "msg": "查询成功", "data": serializer.data})
class Send_email(APIView):
def post(self, request):
data = request.data
serializer = Send_email_serializer(data=data)
# code_serializer = Code_email_serializer()
ret = serializer.is_valid()
if ret:
# serializer.save()
send_code_email(data.get("email"))
return Response({"code": 20000, "msg": "成功"})
else:
error = {}
for (i, j) in zip(serializer.errors.keys(), serializer.errors.values()):
error[str(i)] = str(j[0])
return Response({"code": 40000, "msg": error}, status=status.HTTP_400_BAD_REQUEST)
View File
View File
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

+11
View File
@@ -0,0 +1,11 @@
Django==3.2.5
Markdown==3.3.6
Pillow==9.1.0
configparser==5.2.0
django-filter==21.1
djangorestframework==3.13.1
importlib-metadata==4.11.3
mysqlclient==2.1.0
pytz==2022.1
simpleui==4.0.2
zipp==3.8.0