Re: cannot import path in urls

2019-10-02 Thread Taylor Hughes-Scott
Hi,

You will need to make the change in both urls.py files that you have
created.

Regards,

On Thu., 3 Oct. 2019, 3:36 pm MEGA NATHAN, 
wrote:

> Hi.
> In which  file i rewrite app/urls are main file url i write...
>
>
>
>
>
> *Regards*
> Meganathan G
>
>
>
> On Thu, Oct 3, 2019 at 10:21 AM Suraj Thapa FC 
> wrote:
>
>> In urls.py
>> Write
>> from django.urls import path
>>
>> On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, 
>> wrote:
>>
>>> Hi.
>>>
>>>
>>> i'm meganathan beginer for django 
>>>
>>> urls cannot import for path . how to reslove 
>>>
>>> --
>>> 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/a0c82af4-da14-49e4-a0af-eff26f47afbd%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPjsHcEv9-av30MrCetr0FxAHHEpjHM_0jiava_PP6XdKQWLwg%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEvDBLdYvK%2BQBYCfX_g3mchvJ91NT5xEXA8ZDjFqjru-SLPU3A%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAOisOJncWU_21xnx%3DmZPA1Rd3KOdFUYeCxdfP8DsTx70OoDSA%40mail.gmail.com.


Re: cannot import path in urls

2019-10-02 Thread MEGA NATHAN
Hi.
In which  file i rewrite app/urls are main file url i write...





*Regards*
Meganathan G



On Thu, Oct 3, 2019 at 10:21 AM Suraj Thapa FC 
wrote:

> In urls.py
> Write
> from django.urls import path
>
> On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, 
> wrote:
>
>> Hi.
>>
>>
>> i'm meganathan beginer for django 
>>
>> urls cannot import for path . how to reslove 
>>
>> --
>> 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/a0c82af4-da14-49e4-a0af-eff26f47afbd%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPjsHcEv9-av30MrCetr0FxAHHEpjHM_0jiava_PP6XdKQWLwg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEvDBLdYvK%2BQBYCfX_g3mchvJ91NT5xEXA8ZDjFqjru-SLPU3A%40mail.gmail.com.


Re: cannot import path in urls

2019-10-02 Thread Sarvesh singh
In urls.py file ..
First import- from django.urls import path
Than use it.
..
In django 2.2

On Thu, Oct 3, 2019, 10:02 AM MEGA NATHAN  wrote:

> Hi.
>
>
> i'm meganathan beginer for django 
>
> urls cannot import for path . how to reslove 
>
> --
> 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/a0c82af4-da14-49e4-a0af-eff26f47afbd%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK3CZUb3hW__23k8E-2vpBKcH_ORR30O%2Bh5efB9xM%3Dexswxt8Q%40mail.gmail.com.


Re: cannot import path in urls

2019-10-02 Thread Taylor Hughes-Scott
Hi,

It looks like you aren't importing path from the right location in your
urls.py file, try the following import to see if that resolves your issue.

from django.urls import path

Regards,

On Thu., 3 Oct. 2019, 2:33 pm MEGA NATHAN, 
wrote:

> Hi.
>
>
> i'm meganathan beginer for django 
>
> urls cannot import for path . how to reslove 
>
> --
> 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/a0c82af4-da14-49e4-a0af-eff26f47afbd%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAOisOKHPMMh5Aq%2B-D5m3%2BYC6yf6XAfvoSq%2BzjJp%3DYbPyEDzpg%40mail.gmail.com.


Re: cannot import path in urls

2019-10-02 Thread Suraj Thapa FC
In urls.py
Write
from django.urls import path

On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, 
wrote:

> Hi.
>
>
> i'm meganathan beginer for django 
>
> urls cannot import for path . how to reslove 
>
> --
> 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/a0c82af4-da14-49e4-a0af-eff26f47afbd%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPjsHcEv9-av30MrCetr0FxAHHEpjHM_0jiava_PP6XdKQWLwg%40mail.gmail.com.