from django.db import models


class Poll(models.Model):
    question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')


class Meta:
    app_label = 'test'
Defining a model class in Django shell fails