Skip to content

Commit

Permalink
sửa warn trong admin pannel để set thành None
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Aug 25, 2024
1 parent b7ca3ee commit 0ee631f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/models/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class Profile(models.Model):
help_text=_('Name displayed in place of username.'))
avt_url = ContentTypeRestrictedFileField(upload_to=user_directory_path,content_types=["image/*"],max_upload_size=500,blank=True, null=True)
warn = models.IntegerField(default=0)
last_warned = models.DateTimeField(default=None, null=True)
last_warned = models.DateTimeField(default=None, null=True, blank=True)

@cached_property
def organization(self):
Expand Down

0 comments on commit 0ee631f

Please sign in to comment.