From: Marcin Koziej Date: Mon, 16 Dec 2013 15:32:33 +0000 (+0100) Subject: typo X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/4ca553d8a656c29444c0b54f9f2e33ad7f8f1cc1?ds=sidebyside;hp=-c typo wrong indent --- 4ca553d8a656c29444c0b54f9f2e33ad7f8f1cc1 diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index fd66da9dd..232b3a749 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -273,8 +273,8 @@ def tagged_object_list(request, tags=''): categories = split_tags(related_tags) del related_tags - logging.info("Returning %d picutres and %d books" % (pictures.count(), books.count())) - objects = SortedMultiQuerySet(pictures, books, order_by='sort_key_author') + logging.info("Returning %d picutres and %d books" % (pictures.count(), books.count())) + objects = SortedMultiQuerySet(pictures, books, order_by='sort_key_author') @@ -282,7 +282,6 @@ def tagged_object_list(request, tags=''): only_author = len(tags) == 1 and tags[0].category == 'author' objects = models.Book.objects.none() - return render_to_response('catalogue/tagged_object_list.html', { 'object_list': objects, diff --git a/apps/picture/views.py b/apps/picture/views.py index f98d749fb..8acce820b 100644 --- a/apps/picture/views.py +++ b/apps/picture/views.py @@ -37,7 +37,7 @@ def picture_list_thumb(request, filter=None, get_filter=None, template_name='pic def picture_detail(request, slug): picture = get_object_or_404(Picture, slug=slug) - theme_things = split_tags(picture.related_themes_things()) + theme_things = split_tags(picture.related_themes()) # categories = SortedDict() # for tag in picture.tags.iterator():