Smoke and permissions tests
And various bug / permissions config tweaks to accompany
This commit is contained in:
parent
0d7a933d1c
commit
f4d1da0ab7
7 changed files with 161 additions and 49 deletions
|
@ -56,7 +56,7 @@ class Item(models.Model):
|
|||
return reverse('todo:task_detail', kwargs={'task_id': self.id, })
|
||||
|
||||
# Auto-set the item creation / completed date
|
||||
def save(self):
|
||||
def save(self, **kwargs):
|
||||
# If Item is being marked complete, set the completed_date
|
||||
if self.completed:
|
||||
self.completed_date = datetime.datetime.now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue