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
Having issues converting Physical ISA server to Virtual Server
format of numeric data in nvarchar field
Redundant Internet Connection with OSPF
Error Installation of programs
Dont display record if string field is blank/null
Sync Access database contacts with Exchange Contacts list
Windows 2008 Standard server connects at 1GB/S but reverts back to 10MB/S
How to install XP with F6 driver requirement and no floppy
Oracle Forms 10 Master/Detail not displaying detail if all items are "display"
Need a 40" or larger touchscreen computer