Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Update views_fbv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
foxmask committed Nov 28, 2017
1 parent f30343a commit aa1b45c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_th/views_fbv.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,8 @@ def trigger_edit(request, trigger_id, edit_what):

context = {'description': service.description,
'edit_what': edit_what,
'data': data}
'data': data,
'is_secure': request.is_secure(),
'host': request.get_host()}

return render(request, template, {'form': form, 'context': context})

0 comments on commit aa1b45c

Please sign in to comment.