Tuesday, December 27, 2011

Re: I can't start new project

My bet is that you're using Windows.

Open the Registry Editor (hit Winkey+R, "regedit" (no quotes), hit enter)

---

Go to HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command
and check that it looks somewhat like '"PYDIR\\python.exe" "%1" %*'
 
If you're missing the final %*, it won't work.

---

A different, one-time solution is to type the full paths in your command-line:

C:\Python27\python.exe C:\path\to\django-admin.py startproject foobar



Also google for virtualenv and start using it!


Cheers,
AT


On Tue, Dec 27, 2011 at 12:01 PM, Varrant <varrant.hayate@gmail.com> wrote:
Hello,

I have installed python 2.7 and Django 1.3.1, but when I type:

"django-admin.py startproject project"

I receive only something like 'help' for that command

How can i fix it?

I already tried reinstalling Python and Django...

--
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.


--
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