File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,5 +26,5 @@ class Device(TimeAuditModel):
2626 verbose_name = "Verification Code Expires At" , default = expiry_time
2727 )
2828
29- def __unicode__ (self ):
29+ def __str__ (self ):
3030 return "uuid: {}, is_verified: {}" .format (self .uuid , self .is_verified )
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ class Profile(AuditModel):
1313 city = models .CharField (max_length = 100 , blank = True , null = True )
1414 contact_no = models .CharField (max_length = 15 , blank = True , null = True )
1515
16- def __unicode__ (self ):
16+ def __str__ (self ):
1717 return self .user .username
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class ScheduleItem(AuditModel):
5454
5555 conference = models .ForeignKey (Conference , on_delete = models .CASCADE )
5656
57- def __unicode__ (self ):
57+ def __str__ (self ):
5858 return "{} - {} on {} from {} to {} in {}" .format (
5959 self .conference ,
6060 self .name ,
You can’t perform that action at this time.
0 commit comments