typo
authorMarcin Koziej <marcin@lolownia.org>
Mon, 16 Dec 2013 15:32:33 +0000 (16:32 +0100)
committerMarcin Koziej <marcin@lolownia.org>
Mon, 16 Dec 2013 15:45:50 +0000 (16:45 +0100)
wrong indent

apps/catalogue/views.py
apps/picture/views.py

index fd66da9..232b3a7 100644 (file)
@@ -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,
index f98d749..8acce82 100644 (file)
@@ -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():