Commit Graph

30 Commits

Author SHA1 Message Date
e11e12307a Improve various admin pages performance using select/prefetch related 2024-08-09 01:47:32 -04:00
27974e7de6 Enable/apply ruff's "pyupgrade" rules 2024-01-18 14:21:36 -05:00
02777265b0 Switch from Black to Ruff for formatting, add linting/import sorting 2024-01-18 14:21:36 -05:00
ee7c18f575 Add search fields and date drilldowns to various admin pages 2023-12-29 18:23:10 -05:00
e03b9e3c70 Always show admin facet counts in most models with filters
New feature in Django 5.0

Didn't enable always on HIDEvent admin, as the table size is relatively large
2023-12-04 13:09:13 -05:00
1a8c4cc867 paperwork: Fix certification_name in list admin
Whoops, replaced a bit too aggressively there
2023-04-10 15:04:29 -04:00
35f812d2c6 paperwork: Use default names for certification-related models 2023-04-10 14:59:16 -04:00
bb6577f3bb paperwork: Improve typing for models and admin 2023-04-10 14:52:11 -04:00
250c96f1c2 paperwork: Add Audits for Waivers and Certifications 2023-04-10 13:41:32 -04:00
3b61061e4c paperwork: Add two stage definition/version selection in Certification admin 2023-04-01 11:37:49 -04:00
1cf3f2dcbf paperwork: Fix department name search fields in Certification admin 2023-03-02 20:26:21 -05:00
c6f546d080 Fix some mypy typing issues 2023-02-02 22:33:32 -05:00
bb0e5abad5 paperwork: Convert CertificationVersion is_current/latest to annotations
Pretty sigificantly improves performance of views that use it
2023-02-02 18:49:50 -05:00
d3eb890e89 paperwork: Store certification versions as semver in the database 2023-02-02 18:49:50 -05:00
3acfaaa19f paperwork: Rename Department.list_moderator_flag to shop_lead_flag 2023-02-02 18:49:50 -05:00
74bbbb713e paperwork: Allow exempting departments from having a mailing list 2023-01-19 18:46:15 -05:00
a54c2bf909 paperwork: Move department info to model with mailing list fields 2023-01-19 16:14:48 -05:00
3c73e9fa46 [paperwork] Use semver to determine if if certs are latest or outdated
"Latest" = cert with the highest version number
"Current" = compatible version, so not latest, but still valid
"Outdated" = major version < major version of "latest"
2022-11-07 15:34:44 -05:00
c7cfbcf20f [paperwork] Remove separate Certification Versions admin page 2022-11-07 11:31:44 -05:00
03ad109aa4 [paperwork] Add list_display to InstructorOrVendor, SpecialProgram, and Waiver 2022-07-21 19:12:27 -04:00
888e47e84b [paperwork] Fix various bugs in certification email sending 2022-02-24 21:59:32 -05:00
e81170204f [paperwork] Fix Certification admin search fields 2022-02-24 18:41:53 -05:00
1f5ffcc5d3 [paperwork] Add admin action to send notification emails for new certifications 2022-02-14 11:05:35 -05:00
35f714760d Add/apply black formatter 2022-02-11 23:50:46 -05:00
9997c129ff Add some display and filtering options to paperwork admin 2022-02-08 13:54:35 -05:00
a586688653 Add Certification Version model, moving existing data to it 2022-02-04 16:30:52 -05:00
030cbe8a92 Use autocomplete for member field in Certification admin 2022-02-03 16:37:18 -05:00
4fb8aa74f0 Move Members model to new "membershipworks" app 2022-02-03 13:45:58 -05:00
16eb034b03 Add Member table from membershipworks database 2021-03-23 17:11:58 -04:00
090bb9e07a Initial Commit, basic models/admin pages for CMS_Database tables 2021-03-23 17:10:49 -04:00