Django URL not working on my windows 10

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Django URL not working on my windows 10

Muhamed Bešić
wtf i have done wrong, i'm getting bored, URL mapping not working anyway, anyone please, review the files and give a solution

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%40googlegroups.com.

Screenshot (6).png (186K) Download Attachment
Screenshot (5).png (144K) Download Attachment
Screenshot (6).png (186K) Download Attachment
Screenshot (1).png (136K) Download Attachment
Screenshot (2).png (137K) Download Attachment
Screenshot (3).png (172K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Django URL not working on my windows 10

vineet daniel
Typo in include in urls.py file instead of incliude it should be include. Thats something that i could see immediately.

On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, <[hidden email]> wrote:
wtf i have done wrong, i'm getting bored, URL mapping not working anyway, anyone please, review the files and give a solution

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJPbAW_1VOcYP5MvHNN7i4WD_RuDyBEQ%3DF9naH0sOSRYiD0vAA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Django URL not working on my windows 10

vineet daniel
Scrernshot5 there should.be a comma before name.


On Thu, 17 Oct 2019, 20:26 vineet daniel, <[hidden email]> wrote:
Typo in include in urls.py file instead of incliude it should be include. Thats something that i could see immediately.

On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, <[hidden email]> wrote:
wtf i have done wrong, i'm getting bored, URL mapping not working anyway, anyone please, review the files and give a solution

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJPbAW8RF7hcWxZDO6C7xGpoy1iCsWQXxCXuGUMF1ryAEzrVOg%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Django URL not working on my windows 10

kishor kumar Bharti
In reply to this post by Muhamed Bešić
use following code  in project urls.py

from django.contrib import admin
from django.conf.urls import url,include
from second_app import views

urlpatterns = [
    url(r'^$',views.index, name='index'),
    url(r'^second_app/',include('second_app.urls')),
    url(r'^admin/', admin.site.urls),
]


and use following code in urls.py in app 
from django.contrib import admin
from second_app import views
from django.conf.urls import url,include

urlpatterns = [
    url(r'^$',views.index,name='index'),
    ]

On Thu, Oct 17, 2019 at 8:23 PM Muhamed Bešić <[hidden email]> wrote:
wtf i have done wrong, i'm getting bored, URL mapping not working anyway, anyone please, review the files and give a solution

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMe8XT3qoiuxD6DHe2x_-CeS5JFEG-%3D4NcMg1EGTCpsriJgt%2Bw%40mail.gmail.com.