[boardgames] Add BGG username to user profile

This commit is contained in:
2024-08-07 14:52:26 -03:00
parent b626ac583a
commit b02b75fa90
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 4.2.13 on 2024-08-06 15:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("profiles", "0014_alter_userprofile_timezone"),
]
operations = [
migrations.AddField(
model_name="userprofile",
name="bgg_username",
field=models.CharField(blank=True, max_length=255, null=True),
),
]

View File

@ -30,6 +30,8 @@ class UserProfile(TimeStampedModel):
archivebox_password = EncryptedField(**BNULL)
archivebox_url = models.CharField(max_length=255, **BNULL)
bgg_username = models.CharField(max_length=255, **BNULL)
redirect_to_webpage = models.BooleanField(default=True)
def __str__(self):