@ -373,7 +373,7 @@ INSTALLED_APPS = (
)
CRONJOBS = [
# ('8 * * * *', 'django.core.management.call_command', ['send_newsletter']),
('8 * * * *', 'django.core.management.call_command', ['send_newsletter']),
('0 * * * *', 'django.core.management.call_command', ['update_index', 'conference', '--remove', '--age=6']),
('5 * * * *', 'django.core.management.call_command', ['update_index', 'exposition', '--remove', '--age=6']),
@ -157,7 +157,11 @@
<td>{{ item.creation_date|date:"Y-m-d H:i" }}</td>
<td>{{ item.modification_date|date:"Y-m-d H:i" }}</td>
<td><a href="{% url 'newsletters_contact_update' item.contactsettings.id %}">Изменить</a></td>
<td>
{% if item.contactsettings %}
<a href="{% url 'newsletters_contact_update' item.contactsettings.id %}">Изменить</a>
{% endif %}
</td>
<td><a href="{% url 'newsletters_contact_delete' item.id %}">Удалить</a></td>
</tr>
@ -222,4 +226,4 @@
})
</script>
{% endblock %}