Skip to content

Instantly share code, notes, and snippets.

@juanriaza
Created September 30, 2015 21:08
Show Gist options
  • Save juanriaza/717880fc1fea1a728ac1 to your computer and use it in GitHub Desktop.
Save juanriaza/717880fc1fea1a728ac1 to your computer and use it in GitHub Desktop.

Revisions

  1. juanriaza created this gist Sep 30, 2015.
    7 changes: 7 additions & 0 deletions tweets.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    from django.utils import timezone

    tweets = [
    {'user_name': 'jorgebastida', 'message': 'Hello world!', 'timestamp': timezone.now()},
    {'user_name': 'jaimeirurzun', 'message': 'I like ponies! http://djangopony.com', 'timestamp': timezone.now()},
    {'user_name': 'jorgebastida', 'message': 'Django RULEZZZZZZ', 'timestamp': timezone.now()}
    ]