I am using the following code and geting some indentation problem
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def __unicode__(self):
return self.question
I am geting following error
File "E:\Softwares\Django-1.1.1.tar\.py", line 7
def __unicode__(self):
^
IndentationError: unexpected indent