Commit c20b5e66 authored by Mario Chirinos's avatar Mario Chirinos

news topic

parent 4b86a6b5
...@@ -119,8 +119,8 @@ class Command(BaseCommand): ...@@ -119,8 +119,8 @@ class Command(BaseCommand):
news.date = newsDate news.date = newsDate
news.save() news.save()
# print ("topic type:", type(d['topic'])) print ("topic type:", type(d['topic']))
# print (d['topic']) print (d['topic'])
if "topic" not in d: if "topic" not in d:
d['topic']="" d['topic']=""
......
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