High-level Python web framework

learn more… | top users | synonyms

0
votes
0answers
7 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: ...
0
votes
2answers
56 views

Cannot connect to webserver from outside LAN

I am running the Django development server on a computer at home on 0.0.0.0:80. I am also running an SSH service on port 22. I have configured my router (Virgin Media Superhub 2 with external IP ...
1
vote
0answers
8 views

Apache and MySql datbase memory consumption issue with Django

I'm writing a relatively simple web-application as a learning project to learn Django, Apache, Mysql etc. in practice. It consists of a web flash/html5 client which makes two API-calls to Django ...
0
votes
0answers
26 views

How to run multiple Django FastCGI applications in Lighttpd?

I have multiple Django projects, which I run as FastCGI applications like this: manage.py runfcgi method=threaded host=127.0.0.1 port=<port_no.> I want to assign aliases to these ...
0
votes
1answer
305 views

brew install gettext, should i force link it?

I am doing some web development and the translation engine requires gettext. Should I force link it? $ django-admin.py makemessages -l es CommandError: Can't find xgettext. Make sure you have GNU ...
0
votes
0answers
39 views

Shifting from apache/mod_wsgi to nginx/uwsgi

Till now i have been using Apache mod_wsgi for deploying Django apps and Apache2 for PHP apps. Now i always try to use things which are used in major companies. i ahve read they use ngix/uwsgi Now i ...
1
vote
3answers
1k views

Installing software from tar.gz on Linux (Ubuntu) - where to start and where does it end up?

I am usually a Windows user, but I have decided to check out Django, and was recommended doing this on a Linux box. I downloaded the Django-1.2.5.tar.gz, and by default it ended in the tmp folder. ...
1
vote
2answers
65 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 ...
1
vote
1answer
110 views

VIM - how to open .html files with django html syntax rather than just html syntax?

I use Django a lot and I just want to open all .html files with the htmldjango syntax rather than html syntax. Is there a way for me to tell vim to open all html files with a htmldjango syntax? ...
0
votes
2answers
768 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?
0
votes
2answers
255 views

Should I be using vagrant destroy/up/reload/provision or something of the sort every time I want to change one of my source files?

I have recently started developing a little with vagrant and django in a vm. To get my machine up I use vagrant up, and to destroy it I use vagrant down. Both of these commands are time-consuming as ...
0
votes
1answer
61 views

VIM - How to change color of if, else, endif, for and endfor statements

I just Django html so I have the normal html tags as well as the if, else, endif, for and endfor statements. I use a customized version of the colorscheme called slate. There is a line in the ...
1
vote
1answer
22 views

Editing the htmldjango.vim file

I like htmldjango.vim syntax highlighting except for a few things. 1) It highlights all variables (whatever starts with {{ or {% and ends with }} or %}) white and gives it a red font. I want all ...
0
votes
1answer
288 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
44 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
158 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
vote
1answer
924 views

Windows equivalent to xargs?

What would be the Windows 7 Equivalent for the following command? find . -type f -print0 | xargs -0 sed -i 's/ url \([^" >][^ >]*\)/ url "\1"/g' I am trying to migrate Django 1.4 to 1.5
0
votes
1answer
225 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
0answers
41 views

Apache+mod_wsgi stopped working remotely

I have a django application. I can connect to it using the django development server. Some time ago I configured it to be able also to work with apache+mod_wsgi, and it worked. Now I want to use tha ...
1
vote
0answers
19 views

What does .mp_1374940675 file extension mean in my django project?

My manage.py command does not only make .py files but each .py file comes with a .py.mp_1374940675 pair. Why is that? Do I need those files?
-1
votes
1answer
40 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
129 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 ...
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 ...
1
vote
0answers
587 views

httpd.exe: Could not reliably determine the server's fully qualified domain name

Please help I'm new to this and I was trying to learn django but got stuck at this for last 24 hrs C:\Apache\bin>httpd.exe httpd.exe: Could not reliably determine the server's fully qualified domain ...
0
votes
1answer
359 views

quit tmux server and end all running processes

I am running a tmux server configured by tmuxinator. In one pane my django server is running: python manage.py run_gunicorn If i quit tmux by calling the kill-server command, the run_gunicorn ...
1
vote
1answer
309 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 ...
1
vote
1answer
80 views

sudo permission issue LoadModule wsgi_module

I'm trying to run this command on Ubuntu: echo "LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so" > /etc/apache2/mods-available/wsgi.load I get a permission issue, normally this can ...
4
votes
1answer
624 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 ...
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
86 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
675 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 ...
0
votes
1answer
66 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 ...
1
vote
1answer
472 views

Access Django dev server from guest VM machine

I have Ubuntu 12.04 and Django dev server. To test how it looks in IE, I insalled virtual box and Win7 machine. It runs successfully, I can ping the host machine (192.168.56.1) from virtual box guest ...
1
vote
0answers
224 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
1answer
570 views

Install mysql-python on Mountain Lion

I'm trying to install but i get this: new-host-27:enquete felippe$ file /usr/local/bin/python /usr/local/bin/python: Mach-O universal binary with 2 architectures /usr/local/bin/python (for ...
2
votes
2answers
7k 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 ...
0
votes
2answers
1k views

Can't save Apache httpd.conf file

I'm trying to edit the httpd.conf file so I can use django on my Apache server, but I get an error message saying, "Please check if this file is opened in another program," when I try to save the ...
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 ...
1
vote
1answer
280 views

Can I make my nginx error_log save the whole stacktrace?

I have an Django app running on fastcgi and when there's an exception it seems like it getting cut off in the logs error.log: 2012/06/10 19:25:55 [error] 1416#0: *19219 FastCGI sent in stderr: ...
0
votes
1answer
154 views

Build debian package of Django 1.4 for squeeze

I need to build a debian package for Squeeze of Django 1.4 to add to our local aptitude repository. I found a package here under Download Source Package python-django: ...
-1
votes
1answer
165 views

Web Server for SVN+PHP+Django+Rails [closed]

Foreword: I am not asking for the differences between Nginx and Apache, nor do I want to start a "which one is better discussion. I would like to ask for help with choosing the most adequate solution ...
0
votes
2answers
189 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 ...
1
vote
1answer
971 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
141 views

Is there a way to run django alongside a lampp stack?

I intend to move my webserver (ubuntu) from php to django. I have working php scripts, and have tested some django locally. Now I want to run both on my webserver, but following various tutorials for ...
0
votes
2answers
2k 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 ...
2
votes
2answers
369 views

Deploying django with Nginx

I would like to know has anyone been successful to run django on nginx? I have several django apps running on Apache2 on suse 11.4 and i would like to migrate them to nginx. Are there any modules that ...
1
vote
1answer
649 views

Linux — Django test server running in background… somewhere

Using Putty on my Vista machine, I logged into my development server (Ubuntu) and fired up the Django Test server. It runs an apache-like server to test my web app. The app runs on my internal IP ...
0
votes
1answer
356 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: ...
1
vote
1answer
689 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 ...
0
votes
1answer
125 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 ...