If your display name was set to NULL you'd get an error preventing you from changing your settings.

This has been fixed.
This commit is contained in:
some weird guy
2023-07-24 21:47:19 -07:00
parent e968d31ffc
commit b550c8ccad
+2 -2
View File
@@ -1778,8 +1778,8 @@ class ProfileHistory(models.Model):
id = models.AutoField(primary_key=True)
created = models.DateTimeField(auto_now_add=True)
user = models.ForeignKey(User, null=True, on_delete=models.CASCADE)
old_nickname = models.CharField(max_length=64, blank=True)
new_nickname = models.CharField(max_length=64, blank=True)
old_nickname = models.CharField(max_length=64, blank=True, null=True)
new_nickname = models.CharField(max_length=64, blank=True, null=True)
old_comment = models.TextField(blank=True)
new_comment = models.TextField(blank=True)