The path of django-admin.py is *YOUR_PYTHON_PATH* \Lib\site-packages\django\bin after this, you can just type django-admin.py startproject mysite to start a project. but make sure that your .py file default open by Python, if not, right-click(Shift + right-click in XP) a .py file and select open with..., choose Python, or remove file association in you Notepad++ On Sat, Apr 30, 2011 at 5:39 PM, Daisy <omnia.za...@gmail.com> wrote:
> Thank you for your reply, > Python is in my system PATH but How to add django-admin in my path. I > mean what will be the enviroment variable for django-admin that i have > to put in my system PATH? > > On Apr 30, 4:37 am, Yongning Liang <liangyongn...@gmail.com> wrote: > > type this in Windows > > python django-admin.py startproject mysite > > if it doesn't work, make sure that both python and django-admin in you > > system PATH > > > > > > > > > > > > > > > > On Sat, Apr 30, 2011 at 5:38 AM, Daisy <omnia.za...@gmail.com> wrote: > > > Greetings all; > > > > > I have a problem also with the "django-admin.py startproject mysite" > > > command > > > > > when i type it, it didn't create the directory mysite instead it opens > > > the django-admin.py in a notepad++ > > > > > I don't know how to fix this? > > > any ideas please. > > > > > -- > > > 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+unsubscr...@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+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.