Skip to content

Instantly share code, notes, and snippets.

@jacobg
Created May 13, 2013 12:11
Show Gist options
  • Save jacobg/5567886 to your computer and use it in GitHub Desktop.
Save jacobg/5567886 to your computer and use it in GitHub Desktop.
Django Html template for migrate sample
<html>
<head>
{% if next_url != None %}
<meta http-equiv="refresh" content="0;url={{ next_url }}"/>
{% endif %}
</head>
<body>
<h3>Queue tasks for {{ task_name }}</h3>
<ul>
<li>Started at: {{ item_id }}</li>
<li>Items in task: {{ item_count }}</li>
{% if next_url != None %}
<li>About to update: {{ next_item_id }}</li>
{% else %}
<li> Finished!</li>
{% endif %}
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment