Begin implementing support for replies, likes, and reposts - there's a DB field for storing the original post's URL, but it's not actually used yet
This commit is contained in:
parent
5d031f9e84
commit
28e4a71cae
3 changed files with 49 additions and 1 deletions
|
|
@ -34,6 +34,11 @@ class Entry(ModelMeta, TimeStampedModel):
|
|||
photo = models.ImageField(blank=True)
|
||||
content = models.TextField()
|
||||
|
||||
# The URL of an entry (anywhere on the web) that should become an embedded
|
||||
# h-cite. Can become a u-like-of, u-repost-of, or u-in-reply-to depending
|
||||
# on the post type.
|
||||
cite = models.CharField(max_length=255, blank=True)
|
||||
|
||||
author = models.ForeignKey(
|
||||
get_user_model(),
|
||||
related_name='entries',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue