Monday, September 2, 2024

Re: IMPORT PROBLEM

Is views.py in the same folder of urls.py or is views.py in the parent folder of urls folder?


On Mon, 2 Sept 2024, 12:44 pm Heman Okumbo, <hemanokumbo@gmail.com> wrote:
Homeland is my project directory,there is another folder in the same directory with the same name,my apps directory is named land and its where i am trying to import views from.
I get the below traceback error when i try the import.

On Mon, Sep 2, 2024, 09:46 Augusto Domingos <augustodomingosvasco@gmail.com> wrote:

can you send some screenshots showings how you are importing the view?
Em segunda-feira, 2 de setembro de 2024 às 07:50:38 UTC+2, Heman Okumbo escreveu:
My project url cannot import views from the app folder, what ks the problem?

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/64c28c86-41d4-4242-a8bf-05862a4b18fbn%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJt9CbgRWLxuLN4BsLhSSo1t4frUEkrSdhY91DbZ7aNQSGYt_g%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL1qS4cURZGd1G%3D_XaODgqjvWVmCBdSnXyxD42n2ekmrc0nsvg%40mail.gmail.com.

No comments:

Post a Comment