how can we increment the counter when an entry occurs in the comments Class???
class Status(models.Model):
status = models.CharField(max_length=140)
counter = models.IntegerField(default=0)
class Comments(models.Model):
status = models.ForeignKey(status)
comment = models.CharField(max_length=140)
Either by using a signal or adding it to the processing method of (saving) comments.