minor cleanup

This commit is contained in:
smilerz
2021-12-02 12:16:28 -06:00
parent 2af7b64d4f
commit 2763eed5b2
6 changed files with 8 additions and 18 deletions

View File

@@ -18,6 +18,6 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='userpreference',
name='csv_prefix',
field=models.CharField(blank=True, max_length=3),
field=models.CharField(blank=True, max_length=10),
),
]

View File

@@ -334,7 +334,7 @@ class UserPreference(models.Model, PermissionModelMixin):
default_delay = models.DecimalField(default=4, max_digits=8, decimal_places=4)
shopping_recent_days = models.PositiveIntegerField(default=7)
csv_delim = models.CharField(max_length=2, default=",")
csv_prefix = models.CharField(max_length=3, blank=True,)
csv_prefix = models.CharField(max_length=10, blank=True,)
created_at = models.DateTimeField(auto_now_add=True)
space = models.ForeignKey(Space, on_delete=models.CASCADE, null=True)