ImportError: cannot import name 'views' from 'it_training_platform' for the above error please write like that:
import app_name from views note: we have two things project name and app_name when we are creating Django project That app_name import. Thanks On Fri, 23 Dec 2022 at 20:58, 'Kasper Laudrup' via Django users < django-users@googlegroups.com> wrote: > On 23/12/2022 12.36, JOSEPH OCHELEBE O. wrote: > > Am getting this errors bellow when i tried to run my Django project > > > > from . import views > > ImportError: cannot import name 'views' from 'it_training_platform' > > (C:\Users\Dreams > > > Reality\Desktop\Django-project\it_training_platform\it_training_platform\__init__.py) > > > > This will guide you in the right direction: > > https://www.propublica.org/nerds/how-to-ask-programming-questions > > Kind regards, > Kasper Laudrup > > -- > 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/fb21bd74-5eb8-d331-ad97-b1ca1e1d94c1%40stacktrace.dk > . > -- 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/CAL_Ry1CZ5xT34sCCZ7L3Wi9eNw9rQwn7x5Eez963jp_Nt-sXpg%40mail.gmail.com.