Commit 99f329c6 authored by Mario Chirinos's avatar Mario Chirinos

update db

parent a7ea5e44
...@@ -77,8 +77,6 @@ class Command(BaseCommand): ...@@ -77,8 +77,6 @@ class Command(BaseCommand):
print("settings.json not found") print("settings.json not found")
else: else:
publisher=publisher[0] publisher=publisher[0]
print(publisher)
continue
news = News.objects.all().filter(publisher=publisher.id).order_by("-date") news = News.objects.all().filter(publisher=publisher.id).order_by("-date")
minYear = 0 minYear = 0
lastDate = datetime.datetime(1950,1,1) 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