Skip to content

Commit 4a596eb

Browse files
added verbose name and verbose name plural to the working hours model
1 parent 863962a commit 4a596eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

appointment/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,4 +907,6 @@ def is_owner(self, user_id):
907907
return self.staff_member.user.id == user_id
908908

909909
class Meta:
910+
verbose_name = "Working Hour"
911+
verbose_name_plural = "Working Hours"
910912
unique_together = ['staff_member', 'day_of_week']

0 commit comments

Comments
 (0)