mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-18 20:39:36 +02:00
8 lines
No EOL
252 B
Python
8 lines
No EOL
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 |