from django.db import models


class Zombie(models.Model):
    name = models.CharField(max_length=40)
    graveyard = models.CharField(max_length=40)

    def __unicode__(self):
        return self.name


class Tweet(models.Model):
    zombie = models.ForeignKey('Zombie', related_name='tweets')
    message = models.CharField(max_length=140)
    created_at = models.DateTimeField(auto_now_add=True)


    class Meta:
        ordering = ['-created_at']

    def __unicode__(self):
        return self.message

042f5b3758bf32c63e88a2fd4289a52847df787a
<mask token>


class Tweet(models.Model):
    zombie = models.ForeignKey('Zombie', related_name='tweets')
    message = models.CharField(max_length=140)
    created_at = models.DateTimeField(auto_now_add=True)


    class Meta:
        ordering = ['-created_at']

    def __unicode__(self):
        return self.message

<mask token>


class Zombie(models.Model):
    <mask token>
    <mask token>
    <mask token>


class Tweet(models.Model):
    zombie = models.ForeignKey('Zombie', related_name='tweets')
    message = models.CharField(max_length=140)
    created_at = models.DateTimeField(auto_now_add=True)


    class Meta:
        ordering = ['-created_at']

    def __unicode__(self):
        return self.message

<mask token>


class Zombie(models.Model):
    name = models.CharField(max_length=40)
    graveyard = models.CharField(max_length=40)

    def __unicode__(self):
        return self.name


class Tweet(models.Model):
    zombie = models.ForeignKey('Zombie', related_name='tweets')
    message = models.CharField(max_length=140)
    created_at = models.DateTimeField(auto_now_add=True)


    class Meta:
        ordering = ['-created_at']

    def __unicode__(self):
        return self.message

from django.db import models


class Zombie(models.Model):
    name = models.CharField(max_length=40)
    graveyard = models.CharField(max_length=40)

    def __unicode__(self):
        return self.name


class Tweet(models.Model):
    zombie = models.ForeignKey('Zombie', related_name='tweets')
    message = models.CharField(max_length=140)
    created_at = models.DateTimeField(auto_now_add=True)


    class Meta:
        ordering = ['-created_at']

    def __unicode__(self):
        return self.message
