mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 12:59:36 +02:00
8 lines
252 B
Python
8 lines
252 B
Python
|
from django.contrib.auth.models import AbstractUser
|
||
|
from django.db import models
|
||
|
|
||
|
class CustomUser(AbstractUser):
|
||
|
profile_pic = models.ImageField(null=True, blank=True, upload_to='profile-pics/')
|
||
|
|
||
|
def __str__(self):
|
||
|
return self.username
|