Re: Error: name 'include' is not defined

2023-04-02 Thread Larry Stevens
Perfect, thank you Larry Stevens (571) 289-7658 On Wed, Mar 22, 2023 at 9:49 AM Harouna Diallo wrote: > You must Import include : from django.urls import path, include > > On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens > wrote: > >> Hello, >> >> I'm brand new to Django taking an online course

Re: Error: name 'include' is not defined

2023-03-23 Thread Ikrombek
How can I use for dental clinic, For example, do I need to include 32 fields from the model to specify 32 teeth, or is there a way to do it in one? On Wednesday, March 22, 2023 at 8:24:18 PM UTC+5 Larry Stevens wrote: > Perfect, problem solved. > Thank you so much Jeman, Harouna, and Robinson.

Re: Error: name 'include' is not defined

2023-03-22 Thread Larry Stevens
Perfect, problem solved. Thank you so much Jeman, Harouna, and Robinson. Greatly appreciated. On Wednesday, March 22, 2023 at 11:16:58 AM UTC-4 Robinson wrote: > import path, include > > > On Wed, Mar 22, 2023 at 4:49 PM Harouna Diallo wrote: > >> You must Import include : from django.urls impor

Re: Error: name 'include' is not defined

2023-03-22 Thread Robinson
import path, include On Wed, Mar 22, 2023 at 4:49 PM Harouna Diallo wrote: > You must Import include : from django.urls import path, include > > On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens > wrote: > >> Hello, >> >> I'm brand new to Django taking an online course in Python. >> I created a p

Re: Error: name 'include' is not defined

2023-03-22 Thread Harouna Diallo
You must Import include : from django.urls import path, include On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens wrote: > Hello, > > I'm brand new to Django taking an online course in Python. > I created a project named 'django_test' and I'm in the process of creating > a very simple app named 'He

Re: Error: name 'include' is not defined

2023-03-22 Thread Jeman Kumar
hi, replace the line "from django.urls import path" to "from django.urls import path, include" On Wed, 22 Mar, 2023, 6:22 pm Larry Stevens, wrote: > Hello, > > I'm brand new to Django taking an online course in Python. > I created a project named 'django_test' and I'm in the process of creating

Error: name 'include' is not defined

2023-03-22 Thread Larry Stevens
Hello, I'm brand new to Django taking an online course in Python. I created a project named 'django_test' and I'm in the process of creating a very simple app named 'Hello_World'. I'm trying to modify the urls.py file in my 'django_test' project for the app 'hello_world'. My code in urls.py fol