Example #1
0
 def _new(self, name, deadline, project=None):
     nextaction = Action(name=name, deadline=deadline, project=project)
     nextaction.save()
     return nextaction
Example #2
0
 def _add(self, options):
     action = Action(**options)
     action.save()