summaryrefslogtreecommitdiff
path: root/app/notes
diff options
context:
space:
mode:
Diffstat (limited to 'app/notes')
-rw-r--r--app/notes/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/notes/models.py b/app/notes/models.py
index 3b16588..6ce912d 100644
--- a/app/notes/models.py
+++ b/app/notes/models.py
@@ -20,6 +20,7 @@ class Note(models.Model):
location = models.ForeignKey(Location, null=True, blank=True)
body_html = models.TextField(blank=True)
body_markdown = models.CharField('Note', max_length=450)
+ twitter_id = models.CharField('twitter_id', max_length=450)
def __str__(self):
return self.slug
@@ -70,4 +71,4 @@ def post_save_events(sender, instance, **kwargs):
geo_id = geo['result']['places'][0]['id']
status = t.update_status(status='Look, Twitter', place_id=geo_id)
instance.twitter_id = status['id']
- print instance.twitter_id
+ print(instance.twitter_id)