mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2026-03-22 00:26:22 +00:00
Fix typo
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user