Commit Graph

16 Commits

Author SHA1 Message Date
Disco DeDisco
49491e2497 new save FBVs, methods & test methods 2026-01-23 22:39:12 -05:00
Disco DeDisco
f27b9ffb52 apps.dashboard.views & .tests.test_views now take advantage of DUPLICATE_ITEM_ERROR & ExistingListItemForm() from .forms 2026-01-23 22:30:42 -05:00
Disco DeDisco
004241d52d new form model in apps.dashboard.forms to handle existing item-lists; new test model in .tests.test_forms to accommodate; also new method in .test_views, but skipped for now 2026-01-23 22:23:40 -05:00
Disco DeDisco
6804d3aaae actually committed previously enumerated changes; the previous commit actually contained only the migrations reflecting these changes 2026-01-23 21:51:56 -05:00
Disco DeDisco
8a9f7c8af8 changed #id-list-table everywhere to #id_list_table; duplicate item validation in apps.dashboard.tests.test_models, where ListAndItemModelsTest has been broken out into two different test models 2026-01-23 21:50:49 -05:00
Disco DeDisco
fa5700d9e8 added Meta class to Item() model to test for duplicate item/list entries 2026-01-21 15:29:47 -05:00
Disco DeDisco
f841408488 custom save method implemented in ItemForm(); views & tests updated accordingly (all UTs & FTs passing) 2026-01-21 15:02:26 -05:00
Disco DeDisco
1d96871d7b emancipated hardcoded form views & html from base.html, apps.dashboard.views, apps.dashboard.tests.test_views; added get_item_input_box() helper method to functional_tests.base & retrofitted the other FTs to utilize it 2026-01-20 15:14:05 -05:00
Disco DeDisco
93cc6632c4 found-n-replaced all instances of name='item_text' w. ='text' 2026-01-19 22:33:21 -05:00
Disco DeDisco
0014d9124a created apps.dashboard.forms & commensurate apps.dashboard.tests.test_forms; new ItemForm() ModelForm & EMPTY_ITEM_ERROR constant 2026-01-19 22:01:33 -05:00
Disco DeDisco
5af5ff55fa invoked get_absolute_url() on List model to achieve DRY urls in views 2026-01-19 19:25:04 -05:00
Disco DeDisco
91ede73e89 now enforcing model validation in list FBV; all UTs & FTs passing 2026-01-19 19:09:11 -05:00
Disco DeDisco
af3e20faef apps.dashboard.views refactored to handle new item POST requests; add_item() FBV eliminated for newfound redundancy 2026-01-19 18:48:21 -05:00
Disco DeDisco
8d23d9f2c2 not getting the same precise error message, but perhaps the intent is the same?; anyway, updated views & some FTs, base.html for more dynamic error handling (tho incomplete) 2026-01-19 16:35:00 -05:00
Disco DeDisco
d05d296f65 split apps.dashboard unittests into test_views & test_models 2026-01-14 13:56:21 -05:00
Disco DeDisco
29f5b56487 moved dashboard app unittests into apps.dashboard.tests.test_all 2026-01-14 13:51:00 -05:00