Skip to content

Instantly share code, notes, and snippets.

@jhgaylor
Forked from somyamohanty/gist:6135725
Created August 1, 2013 21:55
Show Gist options
  • Save jhgaylor/6135729 to your computer and use it in GitHub Desktop.
Save jhgaylor/6135729 to your computer and use it in GitHub Desktop.
class FB_activity(models.Model):
fbid = models.TextField()
activity_type = models.TextField()
body = models.TextField()
tags = ArrayField(dbtype="text", dimension=2)
likes = ArrayField(dbtype="text", dimension=2)
comments = ArrayField(dbtype="text", dimension=2)
raw = models.TextField()
objects = ExpressionManager()
def __unicode__(self):
return self.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment