"django-admin.py startproject mysite" command seems to do just what is
expected. But note that I can't just enter it that way. Here's what I do:
python C:\dev\virtenvs\redmule\Scripts\django-admin.py startproject mysite
This is because I use a virtual environment to hold the django packages.
If you're not using a virtual environment that command might be:
python c:\python26\Scripts\django-admin.py startproject mysite
This needs to be entered from the dir where you want the 'mysite' dir to
be created.
There are 4 things to be aware of:
- Where is python installed?
- Where did the django-admin.py scipt get installed (determined by how
Django was installed or not)?
- What is the PYTHONPATH?
- What is the system PATH (is python in that path, is django-admin.py in
it)?
What, precisely, are the symptoms of the problem you're having?
Michael
On 8/1/2010 10:49 AM, balu wrote:
> I'm not getting the actual result which should we get when we run
> "django-admin.py startproject mysite" on windows 7 Operating system.
>
--
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