Monday, February 27, 2012

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

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 <ke1g.nh@gmail.com> wrote:
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:41 PM, Django_for_SB <sami.balbaky@gmail.com> wrote:
> 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 the tutorial part 1, progress up to a certain point, then
> close my shell command and shut-down my computer. Then, when I get
> back to opening up the project in which I initially began working on,
> namely, "mysite" (as the tutorial instructs us to name), my shell
> commands aren't valid anymore.
>
> Example:
>
> manage.py shell                                     -----> This
> initially works if I start the project from scratch
>
> manage.py shell                                     -----> This won't
> work if I leave my project, then go back to continue to
>
> work on it later
>
> This is the error I keep getting:
>
> Traceback(most recent call last):
>
> IndentationError: unexpected Indent
>
>
>
> I'm not quite sure what's going on. Any assistance would be more than
> appreciated. What am I missing here? Thank you.
>
> Best,
>
> SB
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.






--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment