mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Fix typo
This commit is contained in:
parent
687e1f6462
commit
c8dd7711e5
@ -11,7 +11,7 @@ from django.dispatch import receiver
|
||||
def get_profile_pic_path(instance, filename) -> Path:
|
||||
ext = filename.split(".")[-1]
|
||||
filename = f"{instance.id}.{ext}"
|
||||
return Path("profile_pics", filename)
|
||||
return Path("profile-pics", filename)
|
||||
|
||||
|
||||
class User(AbstractUser):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user