typo
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 12 Sep 2011 03:56:19 +0000 (05:56 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 12 Sep 2011 03:56:19 +0000 (05:56 +0200)
apps/api/handlers.py

index 73ca07c..bd44e57 100644 (file)
@@ -252,7 +252,7 @@ class FragmentsHandler(BaseHandler):
 
         """
         tags = read_tags(tags, allowed=self.categories)
 
         """
         tags = read_tags(tags, allowed=self.categories)
-        fragmets = Fragment.tagged.with_all(tags).select_related('book')
+        fragments = Fragment.tagged.with_all(tags).select_related('book')
         if fragments.exists():
             return fragments
         else:
         if fragments.exists():
             return fragments
         else: