Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JobDoesburg committed Apr 10, 2024
1 parent 13b5a23 commit e28eb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def save(self, *args, **kwargs):

if self.pk is None:
try:
self.pk = self.objects.get(username=self.username).pk
self.pk = User.objects.get(username=self.username).pk
except self.DoesNotExist:
pass

Expand Down

0 comments on commit e28eb30

Please sign in to comment.