Re: Stuck at Tutorial 1

2017-02-01 Thread ludovic coues
Sharing the contents of polls/urls.py could help but I assume you didn't make any errors on the first line. To be sure, you can add a comment on the first line and leave the second line blank. If you still have an error on line 1, it might be related to how you save your file. Python might not like

Re: Stuck at Tutorial 1

2017-02-01 Thread Nibil M S
There is some syntax error in the file. Please ensure that your file is following python syntax. I hope you know basics of python. On Wed, 01 Feb 2017 13:17:39 +0530 Zhou Sicong wrote Hi, I tried doing exactly everything as told in Tutorial 1 (http

Stuck at Tutorial 1

2017-02-01 Thread Zhou Sicong
Hi, I tried doing exactly everything as told in Tutorial 1 ( https://docs.djangoproject.com/en/1.10/intro/tutorial01/) I use idle to write the polls.py and urls.py Do i totally overwrite the code already in those file or leave them alone and add on the codes in the tutorial. Because i alw