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
Win 7 DPI Default 125% ??
Split word document and save based on tags
Form elements in Access 2000 in Windows 7 64 bit move and enlarge!
Multiple CAS, Multiple Sites
use wireshark to capture whats happening during the logon process
sql update keeps stopping serivces
I am trying to load windows xp on a hp g71-340us laptop. The factory installed OS is windows 7 Home Premium. When the set-up disk is loading i get a Stop 0x0000007b BSOD.
how to install certificate in SBS 2008
Import Contacts / Calendar Items Outlook POP PST to OWA