-class RedakcjaDocProvider(DocProvider):
- """Used for getting books' children."""
-
- def __init__(self, publishable):
- self.publishable = publishable
-
- def by_slug(self, slug):
- return StringIO(Book.objects.get(dc_slug=slug
- ).materialize(publishable=self.publishable))
+#~ class RedakcjaDocProvider(DocProvider):
+ #~ """Used for getting books' children."""
+#~
+ #~ def __init__(self, publishable):
+ #~ self.publishable = publishable
+#~
+ #~ def by_slug(self, slug):
+ #~ return StringIO(Book.objects.get(dc_slug=slug
+ #~ ).materialize(publishable=self.publishable
+ #~ ).encode('utf-8'))