> 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
>
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
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
3 matches
Mail list logo