You should put the dot(period) after the polls For eg:. python manage.py makemigrations polls .
NOTE: There is space between polls and dot(period) Thanks On Feb 21, 2019 1:40 PM, "bhushan patil" <jayesh14...@gmail.com> wrote: I am running the command 'python manage.py makemigrations polls' but it's showing that django.db.models has no attribute model. -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/ msgid/django-users/CAJ%3Ds-Myumw2o8mxYcbjQXjG0Zy%2BVao6kPjmL7dxaajaGDG5MsA% 40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAJ%3Ds-Myumw2o8mxYcbjQXjG0Zy%2BVao6kPjmL7dxaajaGDG5MsA%40mail.gmail.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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. 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/CAMvtZS7V7fGEfyiifdhcAydi_Y16ByrW1VUL3PkA_PLLpKsymw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.