You have to import Post first. On Sat, 22 Feb 2020, 7:51 pm Kolluri Mounish, <kollurimoun...@gmail.com> wrote:
> Hi all, > > I recently started learning Django. while practicing i come across the > following issue. > > while running Post.objects.all() command on modules i am facing following > error > > > Thanks in advance > Kolluri Mounish > > > > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/2955b960-bacc-4db2-afc4-b625551f8b95%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/2955b960-bacc-4db2-afc4-b625551f8b95%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACggCHtywVuQ2-qsL0%3DLTN5znJiORWprTEJOdqMXUiJvMr9nBw%40mail.gmail.com.