update the documentation
This commit is contained in:
parent
a6253b8852
commit
e9ff9e58a0
|
@ -245,7 +245,7 @@ class Computer(Device):
|
||||||
os = models.ForeignKey(OperatingSystem, on_delete=models.PROTECT)
|
os = models.ForeignKey(OperatingSystem, on_delete=models.PROTECT)
|
||||||
cpu = models.ManyToManyField(Cpu, through='ComputerCpuRelation')
|
cpu = models.ManyToManyField(Cpu, through='ComputerCpuRelation')
|
||||||
ram = models.ManyToManyField(Ram, through='ComputerRamRelation')
|
ram = models.ManyToManyField(Ram, through='ComputerRamRelation')
|
||||||
ip = models.CharField(max_length=15)
|
ip = models.GenericIPAddressField()
|
||||||
disks = models.ManyToManyField(Disk, through='ComputerDiskRelation')
|
disks = models.ManyToManyField(Disk, through='ComputerDiskRelation')
|
||||||
host = models.ForeignKey('self', null=True, blank=True,
|
host = models.ForeignKey('self', null=True, blank=True,
|
||||||
on_delete=models.PROTECT)
|
on_delete=models.PROTECT)
|
||||||
|
|
Loading…
Reference in New Issue