I have Created the Project and App using Python And Django. This is My Model in my model.py ------------------------------------------------------------ -------------------------- class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') ------------------------------------------------------------ -------------------------- Now When run "import Poll or from polls.models import Model" through python shell , it gives no module named Poll Error.
Project Structure : mysite [project name] manage.py mysite files under mysite polls [my app] __init__ models views tests -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.