from django.db import models
from jeevesdb import JeevesModel

class Animal(JeevesModel.JeevesModel):
  name = models.CharField(max_length=30)
  sound = models.CharField(max_length=30)

  def speak(self):
    return "The %s says \"%s\"" % (self.name, self.sound)

class Zoo(JeevesModel.JeevesModel):
  name = models.CharField(max_length=30)
  inhabitant = JeevesModel.JeevesForeignKey(Animal)

afa022fad2daf44a836aedac2e20c796c746e3ca
<mask token>


class Animal(JeevesModel.JeevesModel):
    <mask token>
    <mask token>
    <mask token>


class Zoo(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    inhabitant = JeevesModel.JeevesForeignKey(Animal)

<mask token>


class Animal(JeevesModel.JeevesModel):
    <mask token>
    <mask token>

    def speak(self):
        return 'The %s says "%s"' % (self.name, self.sound)


class Zoo(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    inhabitant = JeevesModel.JeevesForeignKey(Animal)

<mask token>


class Animal(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    sound = models.CharField(max_length=30)

    def speak(self):
        return 'The %s says "%s"' % (self.name, self.sound)


class Zoo(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    inhabitant = JeevesModel.JeevesForeignKey(Animal)

from django.db import models
from jeevesdb import JeevesModel


class Animal(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    sound = models.CharField(max_length=30)

    def speak(self):
        return 'The %s says "%s"' % (self.name, self.sound)


class Zoo(JeevesModel.JeevesModel):
    name = models.CharField(max_length=30)
    inhabitant = JeevesModel.JeevesForeignKey(Animal)

from django.db import models
from jeevesdb import JeevesModel

class Animal(JeevesModel.JeevesModel):
  name = models.CharField(max_length=30)
  sound = models.CharField(max_length=30)

  def speak(self):
    return "The %s says \"%s\"" % (self.name, self.sound)

class Zoo(JeevesModel.JeevesModel):
  name = models.CharField(max_length=30)
  inhabitant = JeevesModel.JeevesForeignKey(Animal)
