Re: Calling "manage.py shell" from the Python Shell in Tutorial Part 1

2012-02-27 Thread Sami Balbaky
Thanks everyone. Your inputs were a tremendous help. I'm slowly, but surely, getting the hang of Django. Best, S On Wed, Feb 22, 2012 at 9:19 AM, Bill Freeman wrote: > 1. There is more information in that traceback (that you didn't > include) that could help > you find your indentation error.

Re: Calling "manage.py shell" from the Python Shell in Tutorial Part 1

2012-02-22 Thread Bill Freeman
1. There is more information in that traceback (that you didn't include) that could help you find your indentation error. 2. It is quite useful, presuming that you are also a python beginner, to do the tutorial at: http://docs.python.org/tutorial/index.html Bill On Tue, Feb 21, 2012 at 6:4

Re: Calling "manage.py shell" from the Python Shell in Tutorial Part 1

2012-02-21 Thread kalyani ram
Hey I am a begginer too and i went tru the same tutorial and trust me i had so many errors and i just struggled tru.. now indentation errors are quite common. what u need to do is, go to u models.py, admin.py, views.py or any other .py file for which ever the code is written, and plz try using pyth

Re: Calling "manage.py shell" from the Python Shell in Tutorial Part 1

2012-02-21 Thread Furbee
Python is indentation-specific. It determines the semantics of your code by it's levels of indentation. For instance: # print False if False: print "false" print "done" if False: print "false" else: print "true" Note that inside the if block, all lines which are indented belong to th

Calling "manage.py shell" from the Python Shell in Tutorial Part 1

2012-02-21 Thread Django_for_SB
Django Gurus, I'm an absolute beginner using Python in Django. I'm currently going through the tutorial, part 1, on the djangoproject.com main website: https://docs.djangoproject.com/en/1.3/intro/tutorial01/. I keep trying to complete part 1 of the tutorial, step by step, meaning, I'll go through