Maybe you could try creating a batch file in the directory where you you are going to keep your projects and call it NewProject.bat put this inside
:********************************Start Batch File***************************************************** : Below replace c:\python27/lib/site-packages/django/bin/ with the path tho your django-admin.py file python c:\python27/lib/site-packages/django/bin/django-admin.py startproject %1 :Below replace c:/django with the path to the folder where you keep your projects (no ending forward slash) SET PYTHONPATH=c:/django :Below replace c:/django/ with the path to the folder where you keep your projects (this time with an ending forward slash) SET DJANGO_SETTINGS_MODULE=c:/django/%1 CD %1 :***********************************End Batch File***************************************************** Run the batch like this from a command line window: NewProject student I don't know if this is the best answer, but it is one that worked for me. On Oct 16, 7:25 am, raddy <raddy.man...@gmail.com> wrote: > hello > > I'm using Windows7 > Python27 & Django1.3.1 > > I'm done with the tutorials (1,2,3); have been working on mysite > project. everything worked perfectly then. > > but now i wish to create a new project > > i tried by using: > django-admin.py startproject student > > but a notepad (django-admin)opens saying > > #!C:\Python27\python.exe > from django.core import management > > if __name__ == "__main__": > management.execute_from_command_line() > > please help... -- 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.