Nazwa nie jest zdefiniowana w modelu Django

Mam aplikację Django z następującym w niejmodels.py plik:

from django.db import models

class Event(models.Model):
    date = models.DateField()
    name = models.TextField(max_length=60)
    venue = models.ForeignKey(Venue)

    def __unicode__(self):
        return self.name

class Venue(models.Model):
    name = models.TextField(max_length=60)
    street_address = models.TextField(max_length=60)
    locality = models.TextField(max_length=60)
    region = models.TextField(max_length=60)
    postal_code = models.TextField(max_length=60)
    country_name = models.TextField(max_length=60)
    latitude = models.DecimalField(max_digits=9, decimal_places=6)
    longitude = models.DecimalField(max_digits=9, decimal_places=6)

    def __unicode__(self):
        return self.name

Ale kiedy biegnępython manage.py syncdb Otrzymuję następujący błąd:

NameError: nazwa „Venue” nie jest zdefiniowana

Dlaczego tak jestclass Venue jest w pliku? Czy zrobiłem coś złego? Właśnie śledziłem samouczek Django na stroniehttps://docs.djangoproject.com/en/1.5/intro/tutorial01/.

questionAnswers(1)

yourAnswerToTheQuestion