fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Catalogue: sorting and searching.
[redakcja.git]
/
src
/
documents
/
management
/
commands
/
add_parent.py
diff --git
a/src/documents/management/commands/add_parent.py
b/src/documents/management/commands/add_parent.py
index
59767bf
..
4bd242d
100644
(file)
--- a/
src/documents/management/commands/add_parent.py
+++ b/
src/documents/management/commands/add_parent.py
@@
-71,7
+71,7
@@
class Command(BaseCommand):
def handle(self, slug, **options):
children_slugs = [line.strip() for line in sys.stdin]
def handle(self, slug, **options):
children_slugs = [line.strip() for line in sys.stdin]
- children = Book.objects.filter(
dc_slug
__in=children_slugs)
+ children = Book.objects.filter(
catalogue_book_id
__in=children_slugs)
desc_elements = [dc_desc_element(child) for child in children]
title = u'Utwory wybrane'
own_attributes = {
desc_elements = [dc_desc_element(child) for child in children]
title = u'Utwory wybrane'
own_attributes = {