Mercurial > public > sg101
diff downloads/views.py @ 1023:a5ebc74dc3f3
Perform image_check on downloads.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 10 Dec 2015 20:57:50 -0600 |
parents | 41d0389fc85a |
children | e1c03da72818 |
line wrap: on
line diff
--- a/downloads/views.py Wed Dec 09 21:16:04 2015 -0600 +++ b/downloads/views.py Thu Dec 10 20:57:50 2015 -0600 @@ -162,7 +162,7 @@ dl = form.save(commit=False) dl.user = request.user dl.ip_address = request.META.get('REMOTE_ADDR', None) - dl.save() + dl.save(html=form.html) email_admins('New download for approval', """Hello, A user has uploaded a new download for your approval.