Skip to content

Commit

Permalink
Merge pull request #13 from 4sfc/timestamp_weekday_hour_inherits_from…
Browse files Browse the repository at this point in the history
…_timestamp

TimestampWeekdayHour inherits from Timestamp fixes #12
  • Loading branch information
jwokaty authored Sep 17, 2020
2 parents 107e4bf + d95619b commit bcdd9ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common_files/models/timestamp_weekday_hour.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
from django.db import models
from django.utils.translation import gettext_lazy as _

from common_files.models.timestamp import Timestamp

class TimestampWeekdayHour(models.Model):

class TimestampWeekdayHour(Timestamp):
"""Abstract base class TimestampWeekdayHour has weekday and times"""

SUNDAY = 0
Expand Down

0 comments on commit bcdd9ee

Please sign in to comment.