Add a user field specifically for XMPP, because it needs to be handled a little differently to the user profiles (different mf2 property, stuff like that)

This commit is contained in:
Danielle McLean 2017-11-06 22:02:12 +11:00
parent 5349fc4c96
commit 6b51531cb4
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
4 changed files with 28 additions and 1 deletions

View file

@ -33,6 +33,8 @@ class Site(models.Model):
class User(ModelMeta, AbstractUser):
avatar = models.ImageField(upload_to=avatar_path)
note = models.TextField(blank=True)
xmpp = models.EmailField(blank=True)
# This is gonna need to change if I ever decide to add multiple-user support ;)
url = '/'