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
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
0ae6a6688e
extend the models with 'ordering'
2020-07-07 22:12:57 +02:00
Andreas Zweili
f3a0d77168
add get_absolute_url method to DeviceManufacturer model
2020-06-08 21:08:16 +02:00
Andreas Zweili
c1abc5a09f
extend the device manufacturer model
2020-06-08 16:56:45 +02:00
Andreas Zweili
696356bd8a
remove the nets property from the Device model
...
since we remove the grouping function from the device details we don't need it
anmore.
2020-05-03 22:11:44 +02:00
Andreas Zweili
17053f586b
remove the ConnectedDevice model
2020-05-03 21:48:40 +02:00
Andreas Zweili
aea6ea6cf5
use the string representation for the net relation
2020-05-01 16:58:10 +02:00
Andreas Zweili
92d0636691
add the ip status to the DeviceInNet string represenation
2020-04-30 20:27:11 +02:00
Andreas Zweili
0ea216fc56
allow an IP to be Null
...
if the device is in DHCP mode it won't have an IP address therefore the user
must be able to leave the field empty.
2020-04-30 20:11:23 +02:00
Andreas Zweili
2639121fb8
dispay the ip status together with the ip
2020-04-30 20:10:54 +02:00
Andreas Zweili
b2bc1f5d88
change the customer property to a ForeignKey
...
Everytime the warranty gets saved the customer gets
set to the one from the corresponding device
2020-03-01 11:16:36 +01:00
Andreas Zweili
9311090132
split parameters over multiple lines
2020-02-29 21:11:06 +01:00
Andreas Zweili
8dec65c034
correct line length
2020-02-29 21:10:03 +01:00
Andreas Zweili
94bbfd249c
split parameters over multiple lines
2020-02-29 21:01:26 +01:00
Andreas Zweili
12b398f252
remove an empty line
2020-02-25 23:02:37 +01:00
Andreas Zweili
da1375a030
calculate the warranty duration from the dates provided
2020-02-16 20:15:47 +01:00
Andreas Zweili
95161cda3f
group ips by the nets
2020-02-16 16:56:46 +01:00
Andreas Zweili
b204404326
add the net name to the ip address
2020-02-16 14:20:56 +01:00
Andreas Zweili
b781192138
correct the string property for the warranty model
2020-02-16 13:00:25 +01:00
Andreas Zweili
47b1f81a89
add ConnectedDevice views
2020-02-15 18:50:51 +01:00
Andreas Zweili
441fda2e1f
add HardwareModel to the device app
...
devices like computers etc. usually have a hardware model/type. E.g. Dell
Precision 5530. In order to use the same name consistently we have the option
to select the model name from a drop down.
2020-02-14 20:26:24 +01:00
Andreas Zweili
8afd4e13c4
move warranty models to device app
2020-01-12 16:21:12 +01:00