summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
19320bc)
bugfixes in annotations dictionary and legacy packager
help='Exclude specific books by slug')
)
help = 'Prepare ZIP package with files of given type.'
help='Exclude specific books by slug')
)
help = 'Prepare ZIP package with files of given type.'
- args = '[%s] output_path.zip' % '|'.join(ftypes)
+ args = '[%s] output_path.zip' % '|'.join(Book.formats)
def handle(self, ftype, path, **options):
self.style = color_style()
def handle(self, ftype, path, **options):
self.style = color_style()
def setUp(self):
WLTestCase.setUp(self)
self.book_info = BookInfoStub(
def setUp(self):
WLTestCase.setUp(self)
self.book_info = BookInfoStub(
- url=u"http://wolnelektury.pl/example/default-book",
- about=u"http://wolnelektury.pl/example/URI/default_book",
- title=u"Default Book",
author=PersonStub(("Jim",), "Lazy"),
kind="X-Kind",
genre="X-Genre",
epoch="X-Epoch",
author=PersonStub(("Jim",), "Lazy"),
kind="X-Kind",
genre="X-Genre",
epoch="X-Epoch",
+ **info_args(u"Default Book")
)
def test_book_with_footnote(self):
)
def test_book_with_footnote(self):
objects = objects.filter(sort_key__regex=r"^[0-9]")
elif self.letter:
objects = objects.filter(sort_key__startswith=self.letter)
objects = objects.filter(sort_key__regex=r"^[0-9]")
elif self.letter:
objects = objects.filter(sort_key__startswith=self.letter)
- return ListView.get_queryset(self)
def get_context_data(self, **kwargs):
context = super(NotesView, self).get_context_data(**kwargs)
def get_context_data(self, **kwargs):
context = super(NotesView, self).get_context_data(**kwargs)