Commit Graph

148 Commits

Author SHA1 Message Date
Andreas Zweili cb3900d80c line length 2022-03-27 14:54:43 +02:00
Andreas Zweili 7efceb4954 format with black 2022-03-27 14:50:44 +02:00
Andreas Zweili 8ad299aef1 wrap long lines 2022-03-23 18:08:37 +01:00
Andreas Zweili 6461f33ee0 remove unused import 2022-03-23 15:43:08 +01:00
Andreas Zweili 48e78be967 really correct the htmx targets 2022-03-23 14:11:23 +01:00
Andreas Zweili b118e07d5c correct htmx target ids 2022-03-23 14:07:52 +01:00
Andreas Zweili 9064a08b4f add plus button to DeviceUpdateForm 2022-03-23 12:38:29 +01:00
Andreas Zweili 29906d9a9a add location form view 2022-03-23 12:18:40 +01:00
Andreas Zweili ad61fbb294 remove unused import 2022-03-23 10:35:45 +01:00
Andreas Zweili 42970896a6 add invalid test for htmx_create_device_cagetory 2022-02-11 17:40:58 +01:00
Andreas Zweili d546827b8a create tests for htmx_create_device_cagetory 2022-02-11 17:38:18 +01:00
Andreas Zweili 5b76e1d66f put the plus next to the category field 2022-02-11 10:54:17 +01:00
Andreas Zweili 3d77f12999 remove duplicate field definitions 2022-02-11 08:38:51 +01:00
Andreas Zweili 47e75198fb add missing trailing slash 2022-02-10 22:37:11 +01:00
Andreas Zweili 6ff44eb129 add test_load_device_update_view 2022-02-10 22:05:12 +01:00
Andreas Zweili 38241f2a9b add a test for duplicate devices 2022-02-10 21:56:56 +01:00
Andreas Zweili 6b5130ccae add the correct submit value 2022-02-08 15:04:48 +01:00
Andreas Zweili 51f47c643a correct a test 2022-02-07 23:04:55 +01:00
Andreas Zweili f4b41c4716 working category form 2022-02-07 14:49:40 +01:00
Andreas Zweili 844827b7e1 remove unused htmx attributes 2022-02-07 12:21:11 +01:00
Andreas Zweili f3e3dfbf06 remove the fieldset 2022-02-07 12:20:54 +01:00
Andreas Zweili 3413c9da9d slowly but steady 2022-02-03 22:24:30 +01:00
Andreas Zweili ce41fa331a further htmx tests 2022-02-02 23:23:38 +01:00
Andreas Zweili a5ea539c7a add a partial template for CreateDeviceCategory 2022-02-02 22:31:53 +01:00
Andreas Zweili 65bef6f3af multiple changes related to crispy-forms 2022-02-02 22:27:48 +01:00
Andreas Zweili 799b2a57dd add a custom user model 2021-12-30 18:31:47 +01:00
Andreas Zweili 28ce263a99 expand fixtures 2021-12-30 16:10:04 +01:00
Andreas Zweili 6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
Andreas Zweili a1e4f8fc5a check the dates in the Warranty forms 2021-12-29 14:57:12 +01:00
Andreas Zweili 613fc79516 fix the dates in the warranty tests
because of the new constraint the tests failed when the valid_from date
was after the valid_until date.
2021-12-29 10:50:18 +01:00
Andreas Zweili cb9933967e add CheckConstraint to Warranty
valid_from should always be lower than valid_unil
2021-12-28 18:42:30 +01:00
Andreas Zweili bb70c0f56b devices need to be unique per customer 2021-12-28 17:53:00 +01:00
Andreas Zweili ba40df90b5 fix a typo 2021-12-26 16:09:56 +01:00
Andreas Zweili 20524c20d4 remove the get_objects util 2021-12-24 13:12:07 +01:00
Andreas Zweili f901999aee make get_customers an internal function 2021-12-24 12:55:34 +01:00
Andreas Zweili d2c5c03d12 make sure that the description columns get wrapped properly 2020-08-03 21:35:20 +02:00
Andreas Zweili 746054c295 make all tables responsive 2020-08-03 21:10:05 +02:00
Andreas Zweili 9bc3873317 make the delete column unsortable 2020-08-03 17:37:08 +02:00
Andreas Zweili 5aed28748a add a delete button to the devices table 2020-08-03 17:15:37 +02:00
Andreas Zweili 506401bf99 move the device delete button into the devices table 2020-08-03 16:38:46 +02:00
Andreas Zweili a0191b6dc2 PEP8 2020-08-03 13:41:49 +02:00
Andreas Zweili 0ae6a6688e extend the models with 'ordering' 2020-07-07 22:12:57 +02:00
Andreas Zweili e3689f6d16 add a Manufacturer detail view 2020-06-08 21:09:05 +02:00
Andreas Zweili f3a0d77168 add get_absolute_url method to DeviceManufacturer model 2020-06-08 21:08:16 +02:00
Andreas Zweili afd1320a91 Merge branch 'master' into clean-out-computer-forms 2020-06-08 17:03:46 +02:00
Andreas Zweili e79eba2828 show all models in the admin interface
Since we decided to create many forms in the frontend the admin interface
should really be a way to access all models even the ones which aren't
accessible from the front end.
2020-06-08 17:02:15 +02:00
Andreas Zweili c1abc5a09f extend the device manufacturer model 2020-06-08 16:56:45 +02:00
Andreas Zweili 490ac6d2cf make cancel go one page back 2020-06-02 06:15:58 +02:00
Andreas Zweili 320e5d449b return to the previous page after the form view 2020-06-02 06:15:31 +02:00
Andreas Zweili 4ff158a866 return to previous page after DeviceUpdateView 2020-05-27 22:50:29 +02:00