Re: Problems with first program

2019-03-07 Thread Ranganath Kulkarni
Always use editors like pycharm which will take care of indentation if not it will complain syntax errors if there are any in your program. On Thursday, February 28, 2019 at 11:14:33 PM UTC, Edvani Pascoal wrote: > > hey guys I'm beginner on django I never worked with this framework before >

Re: Problems with first program

2019-03-04 Thread sachin thakur
that is just a indentation error look just back space look into the indentation of python you need to understand the coding flow in python and respective framework of python *Thanks and Kind Regards*

Re: Problems with first program

2019-03-04 Thread sachin thakur
that is just a indentation error look just back space look into the indentation of python you need to understand the coding flow in python and respective framework of python *Thanks and Kind Regards*

Re: Problems with first program

2019-03-01 Thread Julio Cojom
If you use sublime text, try this, right down corner, it says "Tab size" -> Convert Indentation to Tabs. [image: Sin título.png] El jueves, 28 de febrero de 2019, 17:14:33 (UTC-6), Edvani Pascoal escribió: > > hey guys I'm beginner on django I never worked with this framework before > and then

Re: Problems with first program

2019-03-01 Thread gauravsrivastava2k17
Doing copy-paste always lead to indentation fault.Try to copy the code on any editor and then indent 2nd statement by 4 or 8 space indent . On Friday, March 1, 2019 at 4:44:33 AM UTC+5:30, Edvani Pascoal wrote: > > hey guys I'm beginner on django I never worked with this framework before > and

Re: Problems with first program

2019-03-01 Thread Sam W
The error is very clear "IndentationError: expected an indented block" Use PyCharm IDE OR Visual Studio Code. Also, never use Keyboard Spacebar for indentation , always use Tab for indentation. TO solve your problem take the question_text to the beginning of the line then hit the Tab once.

Re: Problems with first program

2019-03-01 Thread Harryxon Ndegwa
The problem is with the indentation,the question_text field is wrongly indented.ensure you have a python friendly IDE or text editor On Fri, 1 Mar 2019 3:06 am bob gailer On 2/28/2019 6:08 PM, Edvani Pascoal wrote: > > hey guys I'm beginner on django I never worked with this framework > > before

Re: Problems with first program

2019-02-28 Thread bob gailer
On 2/28/2019 6:08 PM, Edvani Pascoal wrote: hey guys I'm beginner on django I never worked with this framework before and then I've problems to started polls app this is the error: deleting most of the traceback since in this case it is not relevant.   File

Problems with first program

2019-02-28 Thread Edvani Pascoal
hey guys I'm beginner on django I never worked with this framework before and then I've problems to started polls app this is the error: (my_env) root@ubuntu:~/django-test/djangoproject# python manage.py runserver 192.168.184.202:8000 Unhandled exception in thread started by .wrapper at