Skip to content

Instantly share code, notes, and snippets.

@jorgebastida
Created April 22, 2012 15:28
Show Gist options
  • Save jorgebastida/2464629 to your computer and use it in GitHub Desktop.
Save jorgebastida/2464629 to your computer and use it in GitHub Desktop.
Step 01 -> 02 First template
tweets = [
{'user_name':'jorgebastida', 'message': 'Hello world!', 'timestamp': datetime.now()},
{'user_name':'jaimeirurzun', 'message': 'I like ponies :D', 'timestamp': datetime.now()},
{'user_name':'jorgebastida', 'message': 'Django rulezzzzz', 'timestamp': datetime.now()}
]
<html>
<head></head>
<body>
{{ tweets }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment