Looks like you have a typo somewhere.

Exception says that it can't find a module `polss` while it should be
`polls`. Check your settings and imports

On Mon, Apr 30, 2018 at 11:29 PM Avitab Ayan Sarmah <[email protected]>
wrote:

> The code I am using for the models is:
>
> from django.db import models
>
> class Question(models.Model):
>     question_text = models.CharField(max_length=200)
>     pub_date = models.DateTimeField('date published')
>
> class Choice(models.Model):
>    question = models.ForeignKey(Question)
>    choice_text = models.CharField(max_length=200)
>    votes = models.IntegerField(default=0)
>
> The code i am using for mysite/settings is:
>
> INSTALLED_APPS = [
>     'polls.apps.PollsConfig',
>     'django.contrib.admin',
>     'django.contrib.auth',
>     'django.contrib.contenttypes',
>     'django.contrib.sessions',
>     'django.contrib.messages',
>     'django.contrib.staticfiles',]
>
>
> It would be great if you could point out the error.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/434e4e83-13f5-4688-b388-6c4d767a5273%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/434e4e83-13f5-4688-b388-6c4d767a5273%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACAWh81_WY%3Dw%2BNm%3DeCYinFJm01ZHbWk9XE2xdm6ursSb8EEnXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to