From: Jan Szejko Date: Thu, 4 Feb 2016 10:07:40 +0000 (+0100) Subject: old smelly typo + hide OAI-PMH (not working) X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/9fc17f14ed2cdf669ae931051513097c0378413a?ds=sidebyside old smelly typo + hide OAI-PMH (not working) --- diff --git a/src/oai/handlers.py b/src/oai/handlers.py index 0c18eb62c..9ad9e67b7 100644 --- a/src/oai/handlers.py +++ b/src/oai/handlers.py @@ -73,7 +73,7 @@ class Catalogue(common.ResumptionOAIPMH): 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 diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index f2e6863b7..ad3495825 100755 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -112,7 +112,7 @@
  • {% trans "Missing a book?" %}
  • {% trans "Publishing plan" %}
  • API
  • -
  • OAI-PMH
  • + {#
  • OAI-PMH
  • #}
  • Leśmianator
  • Materiały do nauki j. polskiego