projets
/
auf_rh_dae.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fba9e
)
Ajout du mimetype svg pour l'organigramme des employés
author
Jean-Philippe Caissy
<jpcaissy@piji.ca>
Tue, 6 Mar 2012 15:30:50 +0000
(09:30 -0600)
committer
Jean-Philippe Caissy
<jpcaissy@piji.ca>
Tue, 6 Mar 2012 15:30:50 +0000
(09:30 -0600)
project/rh/views.py
patch
|
blob
|
blame
|
history
diff --git
a/project/rh/views.py
b/project/rh/views.py
index
d8a8f70
..
d378fff
100644
(file)
--- a/
project/rh/views.py
+++ b/
project/rh/views.py
@@
-537,4
+537,4
@@
def organigrammes_employe(request, id):
response['Content-Disposition'] = 'attachment; filename=organigramme.svg'
return response
- return render_to_response('rh/organigrammes/employe.html', c, RequestContext(request))
+ return render_to_response('rh/organigrammes/employe.html', c, RequestContext(request), mimetype="image/svg+xml")