Hello

First : thanks for your Help. It's very easy, but I need 4 hours...to understand... don't panic :-!

Have a good day
Le 21/05/2018 à 23:55, Daniel Germano Travieso a écrit :
Hello!

As you configured, the available url patterns you have on your project are: "<ip/domain>/admin/" and "<ip/domain>/boutique/"... And as you request states, you are trying to access the path "<ip/domain>/".. So django didn't find any matching url pattern for that.

To access the view you are intended to access, you should access "<ip/domain>/boutique/".

To advance further I recommend you to check the documentation on URL patterns!

Hope it helps.

*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*

On Mon, May 21, 2018 at 5:55 PM, Tristan Demot <cont...@journal-immo.com <mailto:cont...@journal-immo.com>> wrote:

    Hello,

    I use tutorial 1.11

    beaumarche (startproject)

    |
    fromdjango.conf.urls importinclude,url
    fromdjango.contrib importadmin


    urlpatterns =[

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


    boutique (app)


    urls.py


    fromdjango.conf.urls importurl


    from.importviews


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




    views.py
    fromdjango.http importHttpResponse


    defindex(request):
    returnHttpResponse("Hello, world...")


    127.0.0.1:8000
    Usingthe URLconfdefinedinbeaumarche.urls,Djangotried these URL
    patterns,inthisorder:


    1.^boutique/
    2^admin/


    Theempty 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
    <mailto:django-users+unsubscr...@googlegroups.com>.
    To post to this group, send email to django-users@googlegroups.com
    <mailto:django-users@googlegroups.com>.
    Visit this group at https://groups.google.com/group/django-users
    <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
    
<https://groups.google.com/d/msgid/django-users/5431a0c8-1365-4a73-8026-25c57c2f775b%40googlegroups.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.


--
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 <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto: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/CABF8kZPpN_nQ1Xkjq-5%2BWBip1EMxtY-sUuo9grZ4ZnttL5hRag%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CABF8kZPpN_nQ1Xkjq-5%2BWBip1EMxtY-sUuo9grZ4ZnttL5hRag%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--

--
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/85958658-6366-1a35-a28b-a1ad8aba5b5f%40journal-immo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to