Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Moodie
Thanks Julien! I'm new to Python, so the indentation is throwing me a bit, but that sorted out the problem. Thanks again! On Jun 27, 5:16 pm, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > In the example you give I see some identeation problems. It should > rather be: > > class Poll(models.Model)

Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Moodie
Thanks Julien! I'm new to python, so the indentation is throwing me a little, but that fixed the issue. Thanks again! On Jun 27, 5:16 pm, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > In the example you give I see some identeation problems. It should > rather be: > > class Poll(models.Model): >  

Re: Polls app not showing in Admin > Django Tutorial

2008-06-27 Thread Julien
Hi, In the example you give I see some identeation problems. It should rather be: class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __unicode__(self): return self.question def was_published_today(se