view gpp/templates/downloads/commands/wget_cat.html @ 580:c525f3e0b5d0

Use the static() function to serve MEDIA files in development.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 May 2012 15:08:07 -0500
parents 311c926dd218
children
line wrap: on
line source
#!/bin/bash

{% for dl in downloads %}
wget -O {{ dl.dest_filename }} http://{{ domain }}{{ MEDIA_URL }}{{ dl.file.name|urlencode }}
{% endfor %}