chore: Limit pretty print to first article
This commit is contained in:
parent
ab776d8662
commit
612930411a
|
@ -10,6 +10,7 @@ def modify_feed(context, feed):
|
|||
if 'articles' in context:
|
||||
for article in context['articles']:
|
||||
pprint.pprint(article.__dict__)
|
||||
break
|
||||
pass
|
||||
|
||||
def register():
|
||||
|
|
Loading…
Reference in New Issue
Block a user