Commit Graph

7 Commits

Author SHA1 Message Date
Matthew Smith
aac900318e Cables are now a thing, unfortunately by making a monolithic Asset model
Co-authored-by: Arona Jones <aj@aronajones.com>
2019-10-14 00:05:18 +01:00
Matthew Smith
b7e14b7dc3 Added form validation
* Asset IDs must be unique
* Asset IDs that are legacy and unchange have no validation applied
* Asset IDs must be alphanumeric
* Values must be >=0
* Lengths, CSAs, Circuits and Cores of cables must all be >0
2019-10-08 22:34:03 +01:00
Matthew Smith
fe1541acbf Cables can now be created. 2019-10-08 01:33:38 +01:00
Matthew Smith
7359e05427 Started adding functionality for assets and cables forms to be dynamically swapped 2019-10-05 21:16:03 +01:00
Matthew Smith
a4adc8bc7b Now asset_ids are going to be editable, removed that limitation from form 2019-10-05 14:54:19 +01:00
Matthew Smith
769137fabd Started work on improving asset form update and validation - requires de-spaghettifying of asset_update.html before continuing 2019-10-05 01:44:54 +01:00
Matthew Smith
1e1f3037f8 Preparing files for transfer to PyRIGS 2019-10-01 13:22:16 +01:00