I have a model:
class Company(models.Model):
name = models.CharField( max_length=100)
parent = models.ForeignKey('self', null=True, blank=True, related_name='children')
mptt.register(Company, order_insertion_by=['name'])
and
class Financials(models.Model):
year = models.IntegerField()
revenue = models.DecimalField(max_digits = 10, decimal_places = 2)
So how can I add Financials
as a child to Company
in the mptt tree structure?