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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/348cf71b-2fe0-4669-b32d-990e819b876e%40googlegroups.com[1]. > For more options, visit https://groups.google.com/d/optout. -- Hugo Osvaldo Barrera Links: 1. https://groups.google.com/d/msgid/django-users/348cf71b-2fe0-4669-b32d-990e819b876e%40googlegroups.com?utm_medium=email&utm_source=footer -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1449430268.1344345.459612489.5E9A817D%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.