Allow profile disable of lastfm imports

This commit is contained in:
2023-04-06 13:37:10 -04:00
parent 59e29d858a
commit 8042c726b0
3 changed files with 22 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class UserProfile(TimeStampedModel):
)
lastfm_username = models.CharField(max_length=255, **BNULL)
lastfm_password = EncryptedField(**BNULL)
lastfm_auto_import = models.BooleanField(default=False)
def __str__(self):
return f"User profile for {self.user}"