Re: Django documentation tutorial part 1

2017-02-15 Thread Dário Carvalho
Yeah, was that. 2017-02-14 17:32 GMT-02:00 Alexis Carmona : > Hey, I checked your code on githubt and i think that you missed yo import > your views in your urls file > > El lunes, 6 de febrero de 2017, 17:12:30 (UTC-4), Philip escribió: >> >> Hello, >> >> I am working through the tutorial includ

Re: Django documentation tutorial part 1

2017-02-14 Thread Alexis Carmona
Hey, I checked your code on githubt and i think that you missed yo import your views in your urls file El lunes, 6 de febrero de 2017, 17:12:30 (UTC-4), Philip escribió: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url

Re: Django documentation tutorial part 1

2017-02-14 Thread Dário Carvalho
I'm seeing your post only know. Sorry. In deed I used 127.0.0.1:8000 without the /polls when I first ran the server. When I tried with the /polls could finally see the page. 2017-02-07 11:18 GMT-02:00 Gerald Brown : > Have you tried using "127.0.0.1" instead of "localhost"? I had a similar > pro

Re: Django documentation tutorial part 1

2017-02-07 Thread Gerald Brown
Have you tried using "127.0.0.1" instead of "localhost"? I had a similar problem when I used "localhost" On Tuesday, February 7, 2017 at 5:12:30 AM UTC+8, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url

Re: Django documentation tutorial part 1

2017-02-06 Thread Dário Carvalho
You welcome. I'm new in django too. Em segunda-feira, 6 de fevereiro de 2017 21:47:46 UTC-2, Philip escreveu: > > Solved. > > On Monday, February 6, 2017 at 3:12:30 PM UTC-6, Philip wrote: >> >> Hello, >> >> I am working through the tutorial included with the django documentation, >> and I am con

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
Solved. On Monday, February 6, 2017 at 3:12:30 PM UTC-6, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url is not working. I have the most recent > versions of django and python (the ones that the tutorial

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
On Monday, February 6, 2017 at 3:12:30 PM UTC-6, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url is not working. I have the most recent > versions of django and python (the ones that the tutorial says to

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
Thanks to the link you posted, I figured it out! I had the url in the wrong urls file. Thank you so much! On Monday, February 6, 2017 at 3:58:48 PM UTC-6, Dário Carvalho wrote: > > The "urls.py" at docexample should look like: > > """mysite URL Configuration > > The `urlpatterns` list rou

Re: Django documentation tutorial part 1

2017-02-06 Thread Philip
Not Found: /polls/ [06/Feb/2017 23:34:00] "GET /polls/ HTTP/1.1" 404 1925 Not Found: /polls/ [06/Feb/2017 23:34:01] "GET /polls/ HTTP/1.1" 404 1925 Above is my console output. My run server command is python3 manage.py runserver. I need to use python3 as the command otherwise it does not w

Re: Django documentation tutorial part 1

2017-02-06 Thread Dário Carvalho
The "urls.py" at docexample should look like: """mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add

Re: Django documentation tutorial part 1

2017-02-06 Thread Sergiy Khohlov
I have not seen setting.py in your project . Also could you please send your runserver command and output Many thanks, Serge +380 636150445 skype: skhohlov On Mon, Feb 6, 2017 at 7:49 PM, Philip wrote: > Hello, > > I am working through the tutorial included with the django documentation,