Re: Getting Started

43 views
Skip to first unread message

Jani Tiainen

unread,
Sep 24, 2012, 3:05:29 PM9/24/12
to django...@googlegroups.com
It looks like you have older version of Django installed somewhere.

You definitely should go for virtualenv it saves lot of troubles in the long run.

On Mon, Sep 24, 2012 at 7:07 PM, Greg Lindstrom <gslin...@gmail.com> wrote:
Hello,
 
I am having trouble getting started using Django 1.4.1 on my Windows 7 machine.  Everything appears to be installed (I'm running Python 2.7 and have been programming in Python for over 10 years; I figure it's time to see what all the fuss is over "the web" :-).
 
Reading through the tutorial on the Django page (the "polls" project), I start a new project using "django-admin.py startproject mysite".  It creates a new directory -- as promised -- but I'm in trouble, already!  My directory structure does not match the tutorial.  I expect:
 
mysite/manage.py
mysite/mysite/__init__.py
mysite/mysite/manage.py
mysite/mysite/settings.py
mysite/mysite/urls.py
mysite/mysite/wgsi.py
 
and I get all of those.  But, I also get
 
mysite/__init__.py
mysite/setings.py
mysite/urls.py
 
giving me __init__.py, settings.py, and urls.py in both the "outter" and "inner" directories.  I'm I in the wrong tutorial?  The initital web server runs and I can edi the models.py file, but when I attempt the "python manage.py sql polls" command the settings file die snot know about "polls" (I added it to the applications).
 
I'm eager to learn Django; can someone please give me a kick in the proper direction?
 
--greg

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/fkNOGLcwvpQJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.



--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

Laxmikant Gurnalkar

unread,
Sep 26, 2012, 12:31:38 AM9/26/12
to django...@googlegroups.com
Hi,
            Extending to  Jani Tiainen--

 Or you have not properly installed Django, It looks like manage.py is missing. In any of the version manage.py comes by default.
Use 7-zip   to unzip the django tarballs on windows machine.

regards,
Laxmikant
Reply all
Reply to author
Forward
0 new messages