From 1e17a210f01aead02e57ee1526c667bb60084038 Mon Sep 17 00:00:00 2001 From: luxagraf <sng@luxagraf.net> Date: Wed, 4 Jun 2014 21:01:42 +0000 Subject: quick bug fixes for note model --- app/notes/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2