try:
earliest_delete = \
- Deleted.objects.exclude(slug__exact=u'').ordery_by('deleted_at')[0].deleted_at
+ Deleted.objects.exclude(slug__exact=u'').order_by('deleted_at')[0].deleted_at
except IndexError:
earliest_delete = year_zero
<li><a href="{% url 'suggest_publishing' %}" id="suggest-publishing" class="ajaxable">{% trans "Missing a book?" %}</a></li>
<li><a href="{% url 'publish_plan' %}">{% trans "Publishing plan" %}</a></li>
<li><a href="{% url 'api' %}">API</a></li>
- <li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>
+ {#<li><a href="{% url 'oaipmh' %}">OAI-PMH</a></li>#}
<li><a href="{% url 'lesmianator' %}" lang="pl">Leśmianator</a></li>
<li><a href="http://polski.wolnelektury.pl" lang="pl">Materiały do nauki j. polskiego</a></li>