Monday, September 2, 2024

Re: IMPORT PROBLEM


Use like this
path('pen/',views.land,name='pen'),


On Mon, Sep 2, 2024, 1:14 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/CAMCU6Cq4O56%3Dw8mEHpMpW0Lu5YwCECMAERdXMXoQf5YCRgvdCw%40mail.gmail.com.

No comments:

Post a Comment