Commit f5064291 authored by Jose Luis Bautista's avatar Jose Luis Bautista

polish some stuff

parent 645c4ad1
...@@ -62,13 +62,13 @@ def new_key(request): ...@@ -62,13 +62,13 @@ def new_key(request):
def page_today_done(request,pk): def page_today_done(request,pk):
done = today_model.objects.get(id = pk) done = today_model.objects.get(id = pk)
done.keyModel = key_model.objects.get(id = 30) done.keyModel = key_model.objects.get(keyName = '• Task Done')
done.save() done.save()
return redirect('today') return redirect('today')
def page_thisWeek_done(request,pk): def page_thisWeek_done(request,pk):
done = thisWeek_model.objects.get(id = pk) done = thisWeek_model.objects.get(id = pk)
done.keyModel = key_model.objects.get(id = 30) done.keyModel = key_model.objects.get(keyName = '• Task Done')
done.save() done.save()
return redirect('this_week') return redirect('this_week')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment