Created
February 1, 2019 18:35
-
-
Save awkannan/ece6e25859378e9db3e193e67785097a to your computer and use it in GitHub Desktop.
TheHatMan - HatLog model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HatLog(Model): | |
user_id = CharField(null = False) | |
start_time = DateTimeField(null = False) | |
end_time = DateTimeField(null = True) | |
class Meta: | |
database = db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment