Re: Error with Tutorial - Writing your first Django app, part 1

2017-04-13 Thread ludovic coues
Lynn, you should really start your own thread. If you have an error, copy/paste it entirely, this make debugging a lot easier. And don't​ hesitate to share your code. There is a lot of things that can go wrong when we begin and most give more or less the same result. On 12 Apr 2017 9:27 pm,

Re: Error with Tutorial - Writing your first Django app, part 1

2017-04-12 Thread Vijay Khemlani
In the first case he mispelled "urlpatters", it should be "urlpatterns" (notice the n) On Wed, Apr 12, 2017 at 3:47 PM, Lynn Capps wrote: > Shah, > > Did you get this figured out? I am having the same issue as you did. > > > > On Friday, December 9, 2016 at 1:50:22 PM

Re: Error with Tutorial - Writing your first Django app, part 1

2017-04-12 Thread Lynn Capps
Shah, Did you get this figured out? I am having the same issue as you did. On Friday, December 9, 2016 at 1:50:22 PM UTC-6, shah wrote: > > Hi, I am facing the same issue with the tutorial. > > I have got my program correct. But after running the sever. It shows an > error on chrome. > > Page

Re: Error with Tutorial - Writing your first Django app, part 1

2016-12-09 Thread Fabio C. Barrionuevo da Luz
Missing comma on you urlpatterns urlpatterns = [ url(r'^polls/', include('polls.urls'))* ,* url(r'^admin/', admin.site.urls), ] On Fri, Dec 9, 2016 at 4:10 PM, shah wrote: > Hi, I am facing the same issue with the tutorial. > > I have got my program

Re: Error with Tutorial - Writing your first Django app, part 1

2016-12-09 Thread shah
Hi, I am facing the same issue with the tutorial. I have got my program correct. But after running the sever. It shows an error on chrome. Page not found (404) Request Method: GET Request URL: http://localhost:8000/polls/ Using the URLconf defined in mysite.urls, Django tried these URL

Re: Error with Tutorial - Writing your first Django app, part 1

2016-10-10 Thread Dylan Reinhold
In polls/url.py patterns is missing the N. Dylan On Mon, Oct 10, 2016 at 5:24 PM, Johnny McClung wrote: > Thank you. I've added the comma as you mentioned. Can't believe I missed > that. But now I am getting a new error. > > > > E:\Dropbox\Python Scripts\mysite>python

Re: Error with Tutorial - Writing your first Django app, part 1

2016-10-10 Thread Johnny McClung
Thank you. I've added the comma as you mentioned. Can't believe I missed that. But now I am getting a new error. E:\Dropbox\Python Scripts\mysite>python manage.py runserver Performing system checks... Unhandled exception in thread started by .wrapper at 0x044B16A8> Traceback (most recent

Re: Error with Tutorial - Writing your first Django app, part 1

2016-10-10 Thread Vineet Kothari
try to swap both statement On Tue, Oct 11, 2016 at 2:13 AM, Tim Graham wrote: > Add a comma after: url(r'^polls/', include('polls.urls')) > (these are items in a list, separated by a comma) > > > On Monday, October 10, 2016 at 4:42:30 PM UTC-4, Johnny McClung wrote: >> >>

Re: Error with Tutorial - Writing your first Django app, part 1

2016-10-10 Thread Tim Graham
Add a comma after: url(r'^polls/', include('polls.urls')) (these are items in a list, separated by a comma) On Monday, October 10, 2016 at 4:42:30 PM UTC-4, Johnny McClung wrote: > > I am getting an error when I try to run the Django server. > > >> mysite >> polls >> urls.py > from

Error with Tutorial - Writing your first Django app, part 1

2016-10-10 Thread Johnny McClung
I am getting an error when I try to run the Django server. >> mysite >> polls >> urls.py from django.conf.urls import url from . import views urlpatters = [ url(r'^$', views.index, name='index'), ] >> mysite >> mysite >> urls.py from django.conf.urls import include, url from