Commit da2323d2 authored by Mario Chirinos's avatar Mario Chirinos

update.sh

parent 8ba1ae64
......@@ -57,6 +57,7 @@ class Command(BaseCommand):
os.chdir(p)
publisher = Publisher.objects.all().filter(shortName=p)[0]
print(publisher)
news = News.objects.all().filter(publisher=publisher.id).order_by("-date")
minYear = 0
lastDate = datetime.datetime(1950,1,1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment