www-data 8 years ago
parent
commit
15758757c7
  1. 2
      clientsideapp/templates/clientsideapp/services.html
  2. 2
      taskapp/views.py

2
clientsideapp/templates/clientsideapp/services.html

@ -74,7 +74,9 @@
</div>
</div>
</div>
{% if current_service %}
{% include 'clientsideapp/custom_pages/service.htm' with active_service=current_service %}
{% endif %}
</div>
</div>

2
taskapp/views.py

@ -141,8 +141,6 @@ class TaskUpdateView(UpdateView):
def form_valid(self, form):
try:
self.object = form.save()
self.object.author = self.request.user
self.object.save(update_fields=['author'])
task_id = safe_int(self.kwargs.get('task_id', 0))
if task_id == 0:
log_text = _('Task has successfully created')

Loading…
Cancel
Save