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
OpenDNS some need full access
How do I add a * (asterisk) as a reg binary value for the Reg Add command
Cisco 877 DHCP not giving addresses
VB.NET - New to MultiThreading - Parameter Count Mismatch
Can't access variable in code behind page
Laptop running windows vista, SYSTEM process goes to 100% cpu after being accessed by any computer on the network.
Outlook 2010 fails to login via POP3 to SBS2008 server
exiting users from database
Error message when replying, sending, openning email in OWA
MAGENTO ENTERPRISE: Need to make static link in category menu (always display throughout layers)