Created
April 24, 2013 20:45
-
-
Save mintchaos/5455431 to your computer and use it in GitHub Desktop.
Learning the hard way so you dont' have to.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tweet = Tweet() # new django object | |
tweet.content = item.content, | |
tweet.save() | |
tweet.content == "('%s',)" % item.content # True | |
# Don't accidentally end your lines with commas kids. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment