Django problem .. please help

Discussion in 'Programming' started by elieobeid7, May 3, 2011.

  1. #1
    when i type

    django-admin.py startproject mysite

    to create a new project, a file called django-admin.py opens up in pype editor and no other file is created, django-admin.py have the following lines


    #!C:\Python27\python.exe
    from django.core import management

    if __name__ == "__main__":
    management.execute_from_command_line()

    it used to work perfectly before, but not now, i uninstalled it and reinstalled it but i can't fix it

    i'm using python 2.7 and django 1.3.0 and I'm on xp, I'm pretty sure that the installation is correct because I used active python auto installer to take care of it

    activestate.com
     
    elieobeid7, May 3, 2011 IP