Removed order property in the getBatchOfData.
This ordering is not possible since you want to go over the entities in order oftheir key and ordering them would prohibit this from happening properly.
{% extends "soc/models/list.html" %}
{% block scripts %}
{{ block.super }}
<script type="text/javascript">
var RETURN_URL = "{{ return_url }}";
$(document).ready(function(){
$('[id^=id_spin_slot_count_]').spin({min:0});
});
</script>
{% endblock %}
{% block body %}
<form method="POST">
{% if up_list %}
<input style="font-weight: bold" type="submit"
value="Approve and Publish"/></span>
{% endif %}
{% if error_message %}
<div class="error">{{ error_message|safe }}</div>
{% endif %}
{{ block.super }}
</form>
{% endblock %}