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 published")
        def __str__(self):
                """docstring for __unicode__"""
                return self.question
                class Admin:
                        pass

and this is all I am importing

from django.db import models

help please thanking you in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to