Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Really annoying problem, First App part 1 related [RSS Feed]

#1 Dec. 9, 2010 18:54:29

J.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Really annoying problem, First App part 1 related


Ok, so when I do exactly as the tutorial says, I get hella errors. I
change directory to where I want to store my project which goes fine,
then:
>>> django-admin.py startproject mysite
SyntaxError: invalid syntax

with 'startproject' highlighted. The django-admin.py file is in the
directory I changed to.

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

Offline

#2 Dec. 9, 2010 18:58:38

Martin M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Really annoying problem, First App part 1 related


On Thu, Dec 9, 2010 at 7:03 PM, Joe <joe.wise....@gmail.com> wrote:
> Ok, so when I do exactly as the tutorial says, I get hella errors. I
> change directory to where I want to store my project which goes fine,
> then:
>>>> django-admin.py startproject mysite
> SyntaxError: invalid syntax
>
> with 'startproject' highlighted. The django-admin.py file is in the
> directory I changed to.

django-admin.py is a program that should be run in your OS shell, not
in a Python interpreter which it looks like you're trying to do here.

Regards
Martin Melin

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

Offline

#3 Dec. 9, 2010 19:17:56

J.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Really annoying problem, First App part 1 related


Aaaah cheers, I knew there was something fundamentally wrong. Got it
working now.

On Dec 9, 6:58 pm, Martin Melin <mme...@gmail.com> wrote:
> On Thu, Dec 9, 2010 at 7:03 PM, Joe <joe.wise....@gmail.com> wrote:
> > Ok, so when I do exactly as the tutorial says, I get hella errors. I
> > change directory to where I want to store my project which goes fine,
> > then:
> >>>> django-admin.py startproject mysite
> > SyntaxError: invalid syntax
>
> > with 'startproject' highlighted. The django-admin.py file is in the
> > directory I changed to.
>
> django-admin.py is a program that should be run in your OS shell, not
> in a Python interpreter which it looks like you're trying to do here.
>
> Regards
> Martin Melin

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

Offline

  • Root
  • » Django
  • » Really annoying problem, First App part 1 related [RSS Feed]

Board footer

Moderator control

Enjoy the 19th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support