Commit 0e205dda authored by Mario Chirinos's avatar Mario Chirinos

status

parent 43abf76e
...@@ -170,7 +170,8 @@ def status(request): ...@@ -170,7 +170,8 @@ def status(request):
status["endDate"]=News.objects.filter(publisher=p).order_by('-date')[0].date status["endDate"]=News.objects.filter(publisher=p).order_by('-date')[0].date
status["status"]=(datetime.datetime.now(datetime.timezone.utc)-status["endDate"]).days status["status"]=(datetime.datetime.now(datetime.timezone.utc)-status["endDate"]).days
status["origen"]=p.region+", "+p.country status["origen"]=p.region+", "+p.country
tdic2[p.name]=status status["id"]=p.region+", "+p.country
tdic2[p.name]=p.id
aPublishers = Publisher.objects.filter(type="audio") aPublishers = Publisher.objects.filter(type="audio")
......
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