Hello,

I use tutorial 1.11

beaumarche (startproject)

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


urlpatterns = [

    url(r'^boutique/', include('boutique.urls')) ,
    url(r'^admin/', admin.site.urls),
]


boutique (app)


urls.py


from django.conf.urls import url


from . import views


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




views.py
from django.http import HttpResponse


def index(request):
     return HttpResponse ("Hello, world...")


127.0.0.1:8000
Using the URLconf defined in beaumarche.urls, Django tried these URL 
patterns, in this order:


1.^boutique/
2^admin/


The empty path didn't match any of these

An idea maybe

Thanks

-- 
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@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5431a0c8-1365-4a73-8026-25c57c2f775b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to