Merge branch 'master' of git.2li.ch:Nebucatnetzer/network_inventory

This commit is contained in:
Andreas Zweili 2020-04-20 14:08:35 +02:00
commit a513de51e7
3 changed files with 15 additions and 1 deletions

View File

@ -5,6 +5,7 @@ if [ -f ./.second_run ]; then
python manage.py makemigrations
python manage.py migrate
else
python manage.py collectstatic --noinput
python manage.py makemigrations backups
python manage.py makemigrations computers
python manage.py makemigrations core

View File

@ -10,7 +10,7 @@
- Customer :: A customer which owns some of the devices in the inventory tool
and might have access to only the information related to the devices he owns.
* TODO Must Have [0/3]
* TODO Must Have [0/5]
** TODO Views [0/4]
*** TODO ComputerDetailView [0/1]
**** TODO add links to add a relation if it is none
@ -108,6 +108,18 @@ reason why I need this. If so it increases the used licenses counter.
Maybe with this:
- https://stackoverflow.com/questions/23059088/manytomany-field-check-if-relation-exists
** TODO Computer [0/1]
*** NEXT the computer is missing a GPU
CAD computers often have sppecial graphics cards which we should be able to
track.
** TODO NETs [0/1]
*** NEXT the IP needs to be able to be null
Currently it's always required however when a device is in DHCP mode we can't
know the IP for sure.
* TODO Nice to Have [0/9]
*** TODO allow technicians to add custom fields

1
run.sh
View File

@ -5,6 +5,7 @@ if [ -f ./.second_run ]; then
python manage.py makemigrations
python manage.py migrate
else
python manage.py collectstatic --noinput
python manage.py makemigrations backups
python manage.py makemigrations computers
python manage.py makemigrations core