[Fixed]-How to include app urls to project urls in Django 1.8?

1👍

here is an example, my friend.

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

urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', 'home.views.home',name='index'),
    url(r'^contactanos/$', 'home.views.contacto',name='contacto'),
    url(r'^post/$', 'home.views.blog',name='blog')  
]

Leave a comment