Skip to content

Commit

Permalink
Merge pull request #13 from CHT-OJ/fix_warn
Browse files Browse the repository at this point in the history
sửa warn trong admin pannel để set thành None
  • Loading branch information
iotran207 authored Aug 25, 2024
2 parents b7ca3ee + 0ee631f commit d660d2a
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 d660d2a

Please sign in to comment.