[boardgames] Add BGG username to user profile
This commit is contained in:
@ -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),
|
||||
),
|
||||
]
|
||||
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user