fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes #4475: Split thema into separate fields.
[redakcja.git]
/
src
/
depot
/
management
/
commands
/
depot.py
diff --git
a/src/depot/management/commands/depot.py
b/src/depot/management/commands/depot.py
index
4b8b99a
..
7087816
100644
(file)
--- a/
src/depot/management/commands/depot.py
+++ b/
src/depot/management/commands/depot.py
@@
-1,10
+1,10
@@
from django.core.management.base import BaseCommand
from django.core.management.base import BaseCommand
-from depot.models import
Legimi
BookPublish
+from depot.models import
Site
BookPublish
class Command(BaseCommand):
def handle(self, **options):
class Command(BaseCommand):
def handle(self, **options):
- for p in
Legimi
BookPublish.objects.filter(status=0).order_by('created_at'):
- print(p
, p.book.slug
, p.created_at)
+ for p in
Site
BookPublish.objects.filter(status=0).order_by('created_at'):
+ print(p
.id, p.site_book
, p.created_at)
p.publish()
p.publish()