Skip to content

Commit

Permalink
added default value to requested daa time to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mast3rwaf1z committed Apr 27, 2024
1 parent 4459bc5 commit e2120f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stregsystem/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Member(models.Model): # id automatisk...
balance = models.IntegerField(default=0) # hvor mange oerer vedkommende har til gode
undo_count = models.IntegerField(default=0) # for 'undos' i alt
notes = models.TextField(blank=True)
requested_data_time = models.DateTimeField(blank=True, null=True)
requested_data_time = models.DateTimeField(blank=True, null=True, default=timezone.datetime.fromtimestamp(0))

stregforbud_override = False

Expand Down

0 comments on commit e2120f2

Please sign in to comment.