1
0
Fork 0

Accept follow requests

This commit is contained in:
Mouse Reeve 2020-01-26 18:49:57 -08:00
parent 6b85d8838f
commit 19f6ebb9a7
6 changed files with 70 additions and 17 deletions

View file

@ -12,9 +12,9 @@ class User(AbstractUser):
''' a user who wants to read books '''
activitypub_id = models.CharField(max_length=255)
private_key = models.TextField(blank=True, null=True)
public_key = models.TextField()
public_key = models.TextField(blank=True, null=True)
api_key = models.CharField(max_length=255, blank=True, null=True)
actor = JSONField()
actor = JSONField(blank=True, null=True)
local = models.BooleanField(default=True)
created_date = models.DateTimeField(auto_now_add=True)
updated_date = models.DateTimeField(auto_now=True)