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

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^settings/', include('ansible.urls')),
]

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

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^ansible/', include('ansible.urls')),
]

Change ansible.urls from 'settings' to 'ansible'