0

私はDjangoが初めてです。Windows 7 での Django 開発に Eclipse Juno を使用しています。

Python2.7 を正しくインストールし、Eclipse で Student というプロジェクトを作成しました。srcプロジェクトには、 との 2 つのサブフォルダーが含まれていますpython2.7

srcディレクトリにはStudentとの2 つのファイルが含まれていますinit.py。manage.py、settings.py などを作成できません。powershell を使用してpython manage.py startproject Student内部に入力しましたが、次のc:\Eclipse\workspace\Studentエラーが表示されます。

can't open file 'manage.py':errno 2 No such file or directory

4

1 に答える 1

2

ドキュメントによると、次のstartprojectように実行されます。

python django-admin.py startproject Student

このプロセスが完了すると、manage.py が作成されます。

于 2013-05-07T18:04:29.317 に答える