Re: from django.urls import include , path ImportError: cannot import name include

2018-12-05 Thread رهام صادقی
Hi, note that path is only works on django with version > 2.0 for more information about path check following link: https://docs.djangoproject.com/en/2.1/ref/urls/ ‫‪Dheeraj Kumar‬‏ <‪talk...@gmail.com‬‏> در تاریخ چهارشنبه ۵ دسامبر ۲۰۱۸ ساعت ۱۱:۳۳ نوشت:‬ > It won't work. > now i changed here is a

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-05 Thread Dheeraj Kumar
It won't work. now i changed here is and working fine.. from django.contrib import admin from django.conf.urls import url, include urlpatterns = [ url (r'^boadts/', include ('boadts.urls')), url (r'^admin/',admin.site.urls), ] and in apps from django.conf.urls import url from .import vi

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread Harryxon Ndegwa
use django.urls import path instead to import path #%£& On Tue, 4 Dec 2018 7:06 pm Dheeraj Kumar thanks to respond me but still having an issue. > > from django.contrib import admin > from django.conf.urls import include, path > > urlpatterns = [ > path('boadts/', include ('boadts.urls')),

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread Dheeraj Kumar
thanks to respond me but still having an issue. from django.contrib import admin from django.conf.urls import include, path urlpatterns = [ path('boadts/', include ('boadts.urls')), path('admin/',admin.site.urls), ] File "/home/myproject/myproject/myproject/urls.py", line 2, in from

Re: from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread C. Kirby
from django.conf.urls import include you are missing conf On Tuesday, December 4, 2018 at 8:21:39 AM UTC-5, tal...@gmail.com wrote: > > plz advise... > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

from django.urls import include , path ImportError: cannot import name include

2018-12-04 Thread talkdkg
plz advise... -- 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 post to this group, send email to django-users@google