Microsoft
Software
Hardware
Network
Question : Setup Django on Windows with Apache and MySQL
I am running Windows 7 64 bit OS
I have followed these steps:
http://enbeeone3.com/setup
-django-on
-windows-w
ith-apache
-and-
mysql
and everything tested out fine until the very end. I don't think I understood what he was saying to do here?
"Next we’ll need to actually create the django.wsgi WSGI application, so create a file “django.wsgi” and add:
import os, sys
sys.path.append('c:/wamp/w
ww/')
os.environ['DJANGO_SETTING
S_MODULE']
= 'testProject.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.
WSGIHandle
r()
Now restart Apache, and boom you should see your “It Worked” Page.
"
My questions:
- Create and put/save the "django.wsgi" file where? What folder?
-Is it ok I made this file with notepad and saved as "django.wsgi" (It shows as a WSGI file)
-See your "It Worked Page." How? What do I tpye in the browser to see this page?
-If I type htttp://localhost in a browser, now I get the '404 Page not found' error
-If I type
http://127.0.0.1:8000/
in a browser, now I get 'Intenet Explorer can not display the web page' error
TIA,
Deidre
Answer : Setup Django on Windows with Apache and MySQL
Go to Administration > Settings > Reading panel. Set which page will be designated the "front" page.
Random Solutions
The marquee progressbar hangs as the next line of the code executes
How deploy a website shortcut to 200 users desktop
What is the best Server Antivirus going right now? What are you guys using?
Can't print to Dymo Labelwriter 400 turbo after adding labelwriter 450 turbo drivers on windows 2003 terminal server
Having a problem seeing USB devices after installing libusb - NO KEYBOARD OR MOUSE !!
Test javamail through command line
In .NET, how can I add to a variable value to a query result using LINQ to SQL?
'guid' is null or not an object in Jquery
Stored Procedure not working in Crystal
Dynamically Change .XSD File Location in Crystal Reports Using ASP.NET 2.0