Sunday, December 6, 2015

Re: django-admin startproject mysite showing invalid syntax

 
On Sun, Dec 6, 2015, at 16:09, Guntaka Jeevan wrote:
 i have installed django using pip from anaconda but when i type   django-admin startproject mysite it is showing   File "<stdin>", line 1     django-admin startproject mysite                             ^ SyntaxError: invalid syntax
 
`django-admin` is a shell command, you should run it on your ordinary shell, not a python shell.
 
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 
--
Hugo Osvaldo Barrera
 

No comments:

Post a Comment