Skip to content

Commit

Permalink
for #77, change the tweets to be 10 random tweets
Browse files Browse the repository at this point in the history
  • Loading branch information
nanchenchen committed Mar 1, 2015
1 parent cc9dfb1 commit fae1d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msgvis/apps/corpus/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_example_messages(self, filters):

messages = dimension.filter(messages, **params)

return messages[:10]
return messages.order_by('?')[:10]


class MessageType(models.Model):
Expand Down

0 comments on commit fae1d9a

Please sign in to comment.