mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Make pronouns visible on profile and miniprofile
This commit is contained in:
@ -229,7 +229,7 @@ class User(AbstractBaseUser):
|
||||
blank=True,
|
||||
choices=[("MAN", _("Man")), ("WOMAN", _("Woman")), ("OTHER", _("Other"))],
|
||||
)
|
||||
pronouns = models.CharField(_("pronouns"), max_length=64, default='')
|
||||
pronouns = models.CharField(_("pronouns"), max_length=64, default="")
|
||||
tshirt_size = models.CharField(
|
||||
_("tshirt size"),
|
||||
max_length=5,
|
||||
@ -1492,9 +1492,7 @@ class OperationLog(models.Model):
|
||||
User, related_name="logs", on_delete=models.SET_NULL, null=True
|
||||
)
|
||||
operation_type = models.CharField(
|
||||
_("operation type"),
|
||||
max_length=40,
|
||||
choices=settings.SITH_LOG_OPERATION_TYPE,
|
||||
_("operation type"), max_length=40, choices=settings.SITH_LOG_OPERATION_TYPE
|
||||
)
|
||||
|
||||
def is_owned_by(self, user):
|
||||
|
Reference in New Issue
Block a user