- Dec 22, 2017
-
-
Benjamin Bertrand authored
One should be able to enter a MAC when creating/editing an interface.
-
- Dec 21, 2017
-
-
Benjamin Bertrand authored
This allows to easily register items via the API without giving an ICS id.
-
- Dec 19, 2017
-
-
Benjamin Bertrand authored
To check if the unique object is the one being edited, we need to store the object used to create the form in the form (_obj). This is inspired from flask-admin.
-
- Dec 18, 2017
-
-
Benjamin Bertrand authored
It shouldn't be possible to change the ICS id of an item. But when registering a bunch of existing items via the API, we need to allocate an ics_id otherwise not much can be done in the interface. The id is required for the view and edit page. The solution is to define some "temporary" ids that don't correspond to any pre-printed labels. Items with a temporary id can be assigned a real ics_id when assigning a label. Reserved ids start with 'ZZ' (from ZZA000 to ZZZ999) ICS id can now be non nullable.
-