1
vote
4answers
2k views

Can't get Django admin to find static files (css, img, js) on Apache

I'm creating a Django development environment on my mac, and the admin is not finding the media files for styling. This is my settings.py file: STATIC_ROOT = ...
2
votes
2answers
254 views

Running Python locally on Mountain Lion

I have my local environment set up to run MySQL and PHP. I'm beginning to branch into other languages and trying to get Java, Python, and Ruby to run in my local web server. All of the languages are ...
1
vote
2answers
160 views

Extensible Local HTTP Server with Framework in Python

I'm trying to build a desktop application using Python. To make it able to be used on as many platforms as possible, I think web UI may be a good choice. This boils down to the problem of making a ...
0
votes
2answers
40 views

Python Application URL

I created a Django Python application in localhost and setup virtualenv for running python application. I run this application from terminal and can access with this url- http://127.0.0.1:8000/ . On ...
4
votes
1answer
327 views

Django Postgresql syncdb error

When I run python manage.py syncdb, I get this error: OperationalError: could not translate host name "localhost" to address: nodename nor servname provided, or not known my settings.py file looks ...
1
vote
1answer
33 views

GAE Python: Static Files not loading in localhost, but load perfectly fine when app is deployed onto appspot

I'm experiencing a weird problem, searched for a solution but so far, it appears unique. My problem is, my static files (css, templates, javascript, etc) do not load when I run the app using ...
0
votes
1answer
84 views

python 2.7.3 not executing on apache 2.2

Using Apache2.2 Python 2.7.3 in httpd.conf using LoadModule wsgi_module modules/mod_wsgi-win32-ap22py27-3.3.so python executes perfectly , but not on localhost in localhost the following script is ...
0
votes
1answer
439 views

Google App Engine running in localhost environment on Mac

I did a bunch of research on this and could not find an answer to my specific problem, although it seems allot of people have been plagued with similar problems. I am new to Google App Engine and ...
-1
votes
1answer
39 views

How to lock web folder?

I am developing a web django application which I am planning to sell , When I put the same in the client machine I would like to lock the django folder so that no one see or copy the content(code) , ...
1
vote
0answers
27 views

Python stopped working after quitting my local flask app

I am new to web development with Python, and in fact web development in general... and only have a little more experience with python in general, so here goes. I am running Python 2.7 as part of the ...
0
votes
0answers
72 views

Python and XAMPP on Mac OSX 10.9.2

I've been trying to run some simple Python code using XMAPP 1.8.3-1 on my iMac OSX 10.9.2 I've altered the config file to include the .py extension, but I still cannot get the proper result to display ...
0
votes
0answers
26 views

Cronjob is working in my computer but not on the host server

I have a python program which extracts data and saves it in the database I am using cron tab on my local computer as follows which works fine! 15 20 * * * python ...
0
votes
0answers
25 views

Python localhost not updating

I have an app that is running in a Python server in local. I've been working for over a year with no problems, but for some days now, it doesn't update when updating/modifying files. It used to ...
0
votes
0answers
141 views

Django migration

I have migrated django website from live server to my localhost, i took the backup of posrgresql database and attached to my localhost i have changed the databse connection details in the ...
0
votes
0answers
252 views

Cannot get localhost to work with Google app engine PHP SDK

Ok, so another GAE user named Kevin responded to my post on Google+ with instructions for how he got it to work. Just for kicks i tried my previous method again. It still did not work but I got a ...
0
votes
0answers
125 views

localhost KeyError when writing a file

I'm trying to run the demo example for appengine-gcs-client and I keep getting a KeyError when I try to write a file (using the cloudstorage.open() command). I'm just trying this out on localhost ...
0
votes
0answers
103 views

For loop not working on Django localhost

I've been working on a Django site; gradually updating the styling and the like. I had everything running smoothly on a laptop but I've recently switched it all over to a desktop and all of the site ...
0
votes
0answers
350 views

Why doesn't Cherrypy example application run on Chrome, but on other browsers

I didn't get Cherrypy to work with Chrome so far, but I would like to. So here is the code: import cherrypy class HelloWorld(object): def index(self): return "Hello World!" ...
0
votes
0answers
148 views

Fake Local Mail between users

I am planning an inbox app between users, bear in mind this: a) Classic mysql mail model, usign database; tables with messages, usermessages and status. b) Smtp server local, creating users ...