how to get field from and other model django code example
Example: create django model field based on another field
class Product(models.Model):
fields here
def save(self, *args, **kwargs):
self.tags = self.category + '' + self.subcategory
super(Product, self).save(*args, **kwargs)