Commit fc29002a authored by Michal Čihař's avatar Michal Čihař

Limit changes shown in CSV

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 38917c69
......@@ -195,7 +195,7 @@ class ChangesCSVView(ChangesView):
# Add header
writer.writerow(('timestamp', 'action', 'user', 'url'))
for change in self.object_list.iterator():
for change in self.object_list[:2000].iterator():
writer.writerow((
change.timestamp.isoformat(),
change.get_action_display().encode('utf8'),
......
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