User p tags for pure status serializer
This commit is contained in:
parent
40c4f4f5de
commit
80de6079fa
4 changed files with 197 additions and 29 deletions
|
@ -91,6 +91,7 @@ class User(OrderedCollectionPageMixin, AbstractUser):
|
|||
last_active_date = models.DateTimeField(auto_now=True)
|
||||
manually_approves_followers = fields.BooleanField(default=False)
|
||||
|
||||
name_field = 'username'
|
||||
@property
|
||||
def alt_text(self):
|
||||
''' alt text with username '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue