class Post(models.Model):
post = models.CharField(max_length=500)
user = models.ForeignKey(User)
created = models.DateTimeField(auto_now_add=True)
updated = models.DateTimeField(auto_now=True)
user_pk = models.IntegerField(default=0)
user_send = models.IntegerField(default=0)
def __str__(self):
return self.post