old_contents: import urllib, urllib2
  import simplejson
  
  from django.db import models
  from django.template.defaultfilters import slugify
  
  class Wager(models.Model):
      """Wager model detailing the agreement of participants"""        
      name = models.CharField(max_length=50, unique=True)
      slug = models.CharField(max_length=50, db_index=True, unique=True)
      
      def save(self):
          self.slug = slugify(self.name)
          super(Wager, self).save()
      
  class User(models.Model):
      """User model detailing the name and email address of the users in a wager"""
      name = models.CharField(max_length=50)
      email = models.CharField(max_length=320)
      wager = models.ForeignKey(Wager)
  
  class Award(models.Model):
      """Award model detailing the name of the award"""    
      name = models.CharField(max_length=50)
      
  class Entry(models.Model):
      """Entry model detailing the name of the entry(film, actor) 
         and a reference of where/why nominated(film, director)"""
      name = models.CharField(max_length=50)
      award = models.ForeignKey(Award)
      reference = models.CharField(max_length=50, null=True)
      
      def getPoster(self):
          url  = 'http://www.imdbapi.com/?t='
          req  = urllib2.Request(url + self.name)
          conn = urllib2.urlopen(req)
          try:
              resp = simplejson.loads(conn.read())
          finally:
              conn.close()
          return resp['Poster']
      
  class Pick(models.Model):
      """Pick model detailing the selection of votes made against a user for a """
      entry = models.ForeignKey(Entry)
      wager = models.ForeignKey(Wager)
      user = models.ForeignKey(User)
new_contents: import google.appengine.api.urlfetch
  import simplejson
  
  from django.db import models
  from django.template.defaultfilters import slugify
  
  class Wager(models.Model):
      """Wager model detailing the agreement of participants"""        
      name = models.CharField(max_length=50, unique=True)
      slug = models.CharField(max_length=50, db_index=True, unique=True)
      
      def save(self):
          self.slug = slugify(self.name)
          super(Wager, self).save()
      
  class User(models.Model):
      """User model detailing the name and email address of the users in a wager"""
      name = models.CharField(max_length=50)
      email = models.CharField(max_length=320)
      wager = models.ForeignKey(Wager)
  
  class Award(models.Model):
      """Award model detailing the name of the award"""    
      name = models.CharField(max_length=50)
      
  class Entry(models.Model):
      """Entry model detailing the name of the entry(film, actor) 
         and a reference of where/why nominated(film, director)"""
      name = models.CharField(max_length=50)
      award = models.ForeignKey(Award)
      reference = models.CharField(max_length=50, null=True)
      
      def getPoster(self):
          url  = 'http://www.imdbapi.com/?t='
          req  = urllib2.Request(url + self.name + '&' + str(self.reference))
          conn = urllib2.urlopen(req)
          try:
              resp = simplejson.loads(conn.read())
          finally:
              conn.close()
          return resp['Poster']
      
  class Pick(models.Model):
      """Pick model detailing the selection of votes made against a user for a """
      entry = models.ForeignKey(Entry)
      wager = models.ForeignKey(Wager)
      user = models.ForeignKey(User)
subject: Update to Entry.getPoster to include reference