from django.db import models

class SoftwareProduct(models.Model):
    name = models.CharField(max_length=80)
    version = models.CharField(max_length=10)
    
    def __unicode__(self):
        return "{} {}".format(self.name, self.version)
    
class SoftwareUpdate(models.Model):
    product = models.ForeignKey(SoftwareProduct)
    name = models.CharField(max_length=20)

    def __unicode__(self):
        return "{} {}-{}".format(self.product.name, self.product.version, self.name)
9cf8b5c52b1e875c96aee7880c7ef22e0c02984f
<mask token>


class SoftwareUpdate(models.Model):
    <mask token>
    <mask token>

    def __unicode__(self):
        return '{} {}-{}'.format(self.product.name, self.product.version,
            self.name)

<mask token>


class SoftwareProduct(models.Model):
    <mask token>
    <mask token>
    <mask token>


class SoftwareUpdate(models.Model):
    product = models.ForeignKey(SoftwareProduct)
    name = models.CharField(max_length=20)

    def __unicode__(self):
        return '{} {}-{}'.format(self.product.name, self.product.version,
            self.name)

<mask token>


class SoftwareProduct(models.Model):
    name = models.CharField(max_length=80)
    version = models.CharField(max_length=10)

    def __unicode__(self):
        return '{} {}'.format(self.name, self.version)


class SoftwareUpdate(models.Model):
    product = models.ForeignKey(SoftwareProduct)
    name = models.CharField(max_length=20)

    def __unicode__(self):
        return '{} {}-{}'.format(self.product.name, self.product.version,
            self.name)

from django.db import models


class SoftwareProduct(models.Model):
    name = models.CharField(max_length=80)
    version = models.CharField(max_length=10)

    def __unicode__(self):
        return '{} {}'.format(self.name, self.version)


class SoftwareUpdate(models.Model):
    product = models.ForeignKey(SoftwareProduct)
    name = models.CharField(max_length=20)

    def __unicode__(self):
        return '{} {}-{}'.format(self.product.name, self.product.version,
            self.name)

from django.db import models

class SoftwareProduct(models.Model):
    name = models.CharField(max_length=80)
    version = models.CharField(max_length=10)
    
    def __unicode__(self):
        return "{} {}".format(self.name, self.version)
    
class SoftwareUpdate(models.Model):
    product = models.ForeignKey(SoftwareProduct)
    name = models.CharField(max_length=20)

    def __unicode__(self):
        return "{} {}-{}".format(self.product.name, self.product.version, self.name)