1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 06:19:38 +02:00

Refactor database field names for adventures and users

This commit is contained in:
Sean Morley 2024-08-11 09:06:53 -04:00
parent 2425107090
commit d12a396626
9 changed files with 1 additions and 278 deletions

View file

@ -5,7 +5,6 @@ from django_resized import ResizedImageField
class CustomUser(AbstractUser):
profile_pic = ResizedImageField(force_format="WEBP", quality=75, null=True, blank=True, upload_to='profile-pics/')
uuid = models.UUIDField(default=uuid.uuid4, editable=True, unique=True, null=True, blank=True)
def __str__(self):
return self.username