import arrow
from django.conf import settings
from django.db import models


class Comment(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
    parent = models.ForeignKey(
        "Comment", on_delete=models.SET_NULL, null=True, related_name="children"
    )
    author = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE)
    body = models.CharField(max_length=16384)

    thread_id = models.CharField(max_length=128)

    @property
    def created_at_human(self):
        t = arrow.get(self.created_at).to("America/Toronto")
        return t.humanize()

ebc8a07d2095947087ecc437baedf9cc87092e37
<mask token>


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

<mask token>


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

    @property
    def created_at_human(self):
        t = arrow.get(self.created_at).to('America/Toronto')
        return t.humanize()

<mask token>


class Comment(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
    parent = models.ForeignKey('Comment', on_delete=models.SET_NULL, null=
        True, related_name='children')
    author = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE)
    body = models.CharField(max_length=16384)
    thread_id = models.CharField(max_length=128)

    @property
    def created_at_human(self):
        t = arrow.get(self.created_at).to('America/Toronto')
        return t.humanize()

import arrow
from django.conf import settings
from django.db import models


class Comment(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
    parent = models.ForeignKey('Comment', on_delete=models.SET_NULL, null=
        True, related_name='children')
    author = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE)
    body = models.CharField(max_length=16384)
    thread_id = models.CharField(max_length=128)

    @property
    def created_at_human(self):
        t = arrow.get(self.created_at).to('America/Toronto')
        return t.humanize()

import arrow
from django.conf import settings
from django.db import models


class Comment(models.Model):
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
    parent = models.ForeignKey(
        "Comment", on_delete=models.SET_NULL, null=True, related_name="children"
    )
    author = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE)
    body = models.CharField(max_length=16384)

    thread_id = models.CharField(max_length=128)

    @property
    def created_at_human(self):
        t = arrow.get(self.created_at).to("America/Toronto")
        return t.humanize()
