from django.template.loader import render_to_string
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
from django.template.loader import render_to_string
from django.utils.translation import ugettext_lazy as _
from django.conf import settings
for i in range(len(self), len(other)):
title = u"pusta część %d" % i
for i in range(len(self), len(other)):
title = u"pusta część %d" % i
"""
Publishes a book on behalf of a (local) user.
"""
self.assert_publishable()
changes = self.get_current_changes(publishable=True)
book_xml = self.materialize(changes=changes)
"""
Publishes a book on behalf of a (local) user.
"""
self.assert_publishable()
changes = self.get_current_changes(publishable=True)
book_xml = self.materialize(changes=changes)