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ć <muhamedbesici...@gmail.com>
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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMe8XT3qoiuxD6DHe2x_-CeS5JFEG-%3D4NcMg1EGTCpsriJgt%2Bw%40mail.gmail.com.

Reply via email to