Re: Class Admin prob (tut)

2008-05-08 Thread jonknee
> class Poll(models.Model): >         """docstring for Poll""" >         question = models.CharField(maxlength=200) >         pubdate = models.DateTimeField("date published") >         def __str__(self): >                 """docstring for __unicode__""" >                 return self.question >    

Re: Class Admin prob (tut)

2008-05-08 Thread sebey
also on the homepage it says this "" Page not found (404) Request Method: GET Request URL:http://localhost:8000/ Using the URLconf defined in ubertester.urls, Django tried these URL patterns, in this order: 1. ^admin/ The current URL, /, didn't match any of these. "" what

Class Admin prob (tut)

2008-05-08 Thread sebey
ok so I am on page two of the django tutorial in the .96 docs and its says to get the poll model into the admin interface and I type class Poll(models.Model): """docstring for Poll""" question = models.CharField(maxlength=200) pubdate = models.DateTimeField("date