add email setting, closes #5. other misc small fixes

This commit is contained in:
badblocks 2025-04-13 21:14:20 -07:00
parent 135bd95a6a
commit 86b061c971
11 changed files with 85 additions and 99 deletions

View file

@ -17,6 +17,11 @@ class CustomUser(AbstractUser):
verbose_name="Show Friend Code on Link Previews",
help_text="This will primarily affect share link previews on X, Discord, etc."
)
enable_email_notifications = models.BooleanField(
default=True,
verbose_name="Enable Email Notifications",
help_text="Receive new trade notifications via email."
)
reputation_score = models.IntegerField(default=0)
def __str__(self):