0
votes
0answers
5 views

303 Redirect in Django WSGI setup

I am running a django application using the WSGI setup. I want to write a redirect to some non existing pages in the app. I tried using .htaccess . But it is not working. Not even a file in ...
0
votes
2answers
51 views

Can't use pip after download?

This is how I downloaded pip: - I installed https://bootstrap.pypa.io/get-pip.py and placed it in the Scripts sub directory of Python. - Then I ensured that the Scripts sub directory was a part ...
0
votes
1answer
52 views

I am not able to send post request properly with 'curl' command

I am very new to django programming.After reading some basic curl command, I am sent the following post request to python server using curl curl --data ...
0
votes
0answers
64 views

Keeping the backend code hidden from frontend developers

Working on a middle-sized web-based project, we need a way to reasonably manage the source code among backend and frontend developers. I’m wondering if there are some good practices for effective ...
0
votes
1answer
36 views

Creating virtual host with Apache2

I'm trying to get Apache2 to host my Django project located in /var/www/tbg/. I get an Internal Server Error (500). I have already installed libapache2-mod-wsgi and My files are as follows: ...
2
votes
2answers
96 views

To install and use Django 1.4.1 without sudo access

I want to install this software to a server where I have no sudo access. They have Django 1.2.x installed there, but the software needs Django 1.4.1. The server has the adapter between Python and ...
0
votes
1answer
522 views

Passing parameters to python -c inside a bash function?

I need to print the value of a Django setting while in a Bash shell. Basically, the command I'd like to run is python -c 'from django.conf import settings; print settings.MEDIA_ROOT'. I need to be in ...
0
votes
0answers
59 views

Why is the Python interpreter provided by Django suddenly showing me Python tab completion upon a single Tab press?

This issue seems to have just started happening; basically I just noticed that whenever I press the Tab key in the Python interpreter that comes with Django, it gives me the Display all ... ...
0
votes
1answer
229 views

Apache 2.2.22 running a Django app shows error “client denied by server configuration”

I have a Debian 7.1 amd64 server with apache httpd 2.2.22 and Python 2.7.3 installed, to serve a django app which I've hooked to apache using mod_wsgi and default django wsgi.py script. Django is the ...
-1
votes
1answer
48 views

COmmunication between windows host and centos guest through vbox [closed]

I am trying to access the db which is there on my windows 7 machine through centos mounted on oracle virtual box. I am using python as the language, using Django. I have made the following changes ...
1
vote
0answers
156 views

Is it possible to delete unused media from the file system in Django, systematically?

I have a django project in which the admins are able to upload media. As items sell, they are deleted from the site, thus removing their entry in the MySQL database. The images associated with the ...
1
vote
1answer
381 views

Can't reach Django web dev server from Host OS using VirtualBox

I'm having trouble trying to reach my Django web dev server inside VirtualBox (4.2.8). What I'm trying to do is connect through the web browser in my Host OS to the web dev server running in the Guest ...
0
votes
1answer
96 views

What's wrong with the Basic configuration of apache and mod_python?

the the Basic configuration of apache is: LoadModule python_module /usr/lib64/httpd/modules/mod_python.so <Location "/mysite/"> SetHandler python-program PythonHandler ...
1
vote
1answer
867 views

How to solve it when make the mod_python?

the verison of RPM is: httpd-2.2.3-63.el5.centos.1 httpd-devel-2.2.3-63.el5.centos.1 apr-1.2.7-11.el5_3.1 apr-devel-1.2.7-11.el5_3.1 apr-util-1.2.7-11.el5 apr-util-devel-1.2.7-11.el5 the version of ...
1
vote
0answers
270 views

installing Django on a remote server not working

I am attempting to install Django on a remote server. I have yum installed the following: apache mod_wsgi Django mysql (python is already installed) I have uploaded my project to the directory: ...
0
votes
2answers
1k views

How can I fix this ImportError?

I am getting this error ImportError: no module named request To fix this: sudo apt-get install request works in Ubuntu. How do I fix this error in CentOS?
3
votes
1answer
6k views

Installing MySQL Server on a Mac with Homebrew

As a total newbie I am trying to get through this tutorial: http://net.tutsplus.com/tutorials/python-tutorials/python-from-scratch-creating-a-dynamic-website/ I'm at the point where I've used brew ...
0
votes
1answer
70 views

How can I run Bitnami OSQA with other web service (wordpress, joomla)?

I installed OSQA Bitnami on my VPS. And I also point 3 domains to this VPS. Now I want each domain point to different web service (I have another PHP website I want to host here). How can I run php ...
4
votes
1answer
779 views

Deploy in Windows Server using fabric

I'm developing a Python + Django project in Linux, but the Production Server is a Windows 2008 server. I've been trying to deploy (update repo, update database, restart apache) directly from my ...
0
votes
1answer
227 views

Django on production server(ubuntu)

I'm trying to ship web application to the production server. My setup is django-gunicorn-nginx by following this tutorial. I've not installed supervisor yet for checking purpose. There is no problem ...
0
votes
2answers
192 views

Windows does not see my command line arguments

C:\Users\Drew Gross\Documents\Projects\Batadase\src>django-admin.py startproject batadase Usage: django-admin.py subcommand [options] [args] Options: -v VERBOSITY, --verbosity=VERBOSITY ...
0
votes
1answer
416 views

Error installing pygraphviz on OSX

I'm trying to get the graph-models to work (from django-command extensions) on Snow Leopard. It requires pygraphviz, which I installed via macports. After successful install I am getting this error: ...
2
votes
2answers
8k views

Where is MYSQL installed on Mac?

I've always used MAMP or XAMPP to install MYSQL so it's been fairly straightforward. The only most I've had to do is create a symbolic link. I'm now starting to learn Django and I would like to ...
1
vote
1answer
1k views

pygraphviz - Install on Ubuntu 10 with django-extensions

I'm trying to install pygraphviz under Ubuntu 10.04 in order to use it within my Django projects. I used synaptic and it was installed without any problem. I also installed django-extensions with ...
0
votes
1answer
3k views

installing Gevent on OSX

>>> import gevent Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.6-universal/egg/gevent/__init__.py", line 41, in ...
0
votes
2answers
3k views

Installing GeoIP on Mac?

I want to install the MaxMind GeoIP C library, so that I can use GeoIP as part of Django. I'm working on MacOS. I've downloaded GeoIP-1.4.8.tar.gz from here and run: ./configure make make check ...
0
votes
1answer
602 views

Cannot access PHPMyAdmin after installing Django

I usually access phpMyAdmin on my server by going to www.mysite.com/phpMyAdmin, however after I've installed Django, when I go to the mentioned address, I get the Django It worked page. Any ...
2
votes
1answer
202 views

Cannot type the letter 'b' in Django Shell

My programming teacher has me doing a Django progect for my last project of the year. I've hit a big wall though. I can't use the django manage.py shell because 1 letter doesnt work. Lowercase 'b'. It ...
1
vote
4answers
1k views

How to open python scripts directly by typing in their name in terminal (Mac OS X)

I'm working on installing django and running it on my system. I have a problem though, in this tutorial creating a project is explained by running the command django-admin.py startproject mysite ...
0
votes
1answer
171 views

Python Upgrade Broke Django

I've upgraded Python from 2.5 to 2.7, but the upgrade broke Django. My Django tests and shell report they can't find the modules. I tried putting the site-packages with Django on my PYTHONPATH in ...
0
votes
2answers
412 views

'.htaccess' file Disappeared after i upload it to ftp on alwaysdata.com

I follow this article : deploying-django-at-alwaysdata-com and i'm not successful now , look my site : http://zjm1126.alwaysdata.net/: i think it is due to the '.htaccess' file , so i create it ...
0
votes
1answer
131 views

How do I install mod_wsgi2.6 in Ubuntu?

I am having a problem while installing mod_wsgi 2.6 which supports Python 2.5 but I have Python 2.6 as the default in Ubuntu. Can you please tell me whether I have to find a mod_wsgi version ...
1
vote
1answer
725 views

python-imaging and libjpeg on FreeBSD

I had a problem with image uploading to Django with FreeBSD, so I asked on SO: http://stackoverflow.com/questions/1959447/django-uploading-image-error and got an answer. Our admin can't install these ...