I wrote a django site (django3.02) and want to deploy it using mod_python.
Is that even doable/ reasonable?. Do I need to use django version <1.5?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this g
gdnsplus_conf/www/mysite /var/www/html/gdnsplus_conf
>
> the version of django is:1.4.5
> the version of mod_python is:3.3.1
> the directory of of django app is: /usr/local/gdnsplus_conf/www/mysite
> the context of app is:
> ll /usr/local/gdnsplus_conf/www/mysite
> total 184
&
PythonDebug On
PythonPath "['/var/www/html',
'/usr/local/gdnsplus_conf/www/mysite'] + sys.path"
I have done:
ln -sf /usr/local/gdnsplus_conf/www/mysite /var/www/html/gdnsplus_conf
the version of django is:1.4.5
the version of mod_python is:3.3.1
the
Well
I started discovering django through the djangobook.
I'll try wsgi and let you know.
Thabks for your help
Le 14 nov. 2012 14:21, a écrit :
> **
> Hi Isaam!
>
> Do you have a specific reason for using mod_python?
>
> This module is old and deprecated. The recommen
Hi Isaam!
Do you have a specific reason for using mod_python?
This module is old and deprecated. The recommended way is to use other
modules, many people use mod_wsgi which is really simple to deploy and use.
HTH
Jirka
-Original Message-
From: Issam Outassourt
Sender
Hi all,
I've got a problem deploying my new app that i designed on my personal
server that i run on my computer and i would like some help to deal with
this.
Here's the problem. You can see down here what happens when I try to
visualize my home page :
ServerName: '127.0.1.1'
DocumentRoot: '
On Tue, Sep 4, 2012 at 8:06 AM, Maheshakya Wijewardena
wrote:
> I want to use django with apache server, but it needs mon_python
>
> I've been trying to install mod_python (
> mod_python-3.3.1.win32-py2.5-Apache2.2_2.exe ), but the following errors
> occur during the install
I want to use django with apache server, but it needs mon_python
I've been trying to install mod_python (
mod_python-3.3.1.win32-py2.5-Apache2.2_2.exe
), but the following errors occur during the installation
1. could not create mod_python-py2.5
2. could not set key value Python 2.5 mod_p
be sure that problem! As
> > I put apache and mod_python to work?
>
> mod_python is deprecated - please do not use it. Use apache and mod_wsgi
> instead.
> --
> regards
> Kenneth Gonsalves
>
> --
> You received this message because you are subscribed to the Google G
On Wed, 2012-07-11 at 01:03 -0300, Carlos Andre wrote:
> Hi, i'm with a hard problem. also, my apache have a problem he not
> want be stated, i try use the xamppy and now be sure that problem! As
> I put apache and mod_python to work?
mod_python is deprecated - please do not use
Hi, i'm with a hard problem. also, my apache have a problem he not want be
stated, i try use the xamppy and now be sure that problem!
As I put apache and mod_python to work?
Please help i need this!
I've tried a lot for tutorials that do not explain, those who have used it
wrong!
thanks
On Mar 1, 10:26 am, Ian wrote:
> It appears that the error is actually from the previous (working)
> request when Django subsequently tries to close the database
> connections and fails, and since the error goes uncaught, it kills the
> server.
>
> It's pretty weird that it would fail in this way.
On Mar 1, 4:23 am, lipt0n wrote:
> Django 1.2.3
> python 2.6
> cx_oracle 5.0.4
> oracle 10 XE
>
> $ cat /var/log/nginx/localhost.error_log
> 2011/02/28 16:52:39 [error] 11159#0: *47 FastCGI sent in stderr:
> "Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/flup-1.0.3.
nect() failed (111:
Connection refused) while connecting to upstream, client:
192.168.1.105, server: localhost, request: "GET /accounts/menuleft/
122/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host:
"192.168.1.50", referrer: "http://192.168.1.50/accounts/menule
On Feb 28, 10:04 am, lipt0n wrote:
> Hi
> my application works fine in apache as mod_python and wsgi, also work
> great when I run manage.py runserver
> but I have to move it on nginx.
>
> so I run it by 'python2.6 manage.py runfcgi host=127.0.0.1 port=9001 --
> setting
is working
3) go to http://localhost <- error
4) kill fcgi, run "1" point again
5) go to http://localhost <- page is working
6) go to http://localhost <- error
On 28 Lut, 16:04, lipt0n wrote:
> Hi
> my application works fine in apache as mod_python and wsgi, also work
Hi
my application works fine in apache as mod_python and wsgi, also work
great when I run manage.py runserver
but I have to move it on nginx.
so I run it by 'python2.6 manage.py runfcgi host=127.0.0.1 port=9001 --
settings=settings'
and it works fine until it have to connect to th
is there any reason you are using mod_python instead of, say, wsgi?
modpython is deprecated and there are "better" alternatives.
id start with that. looking in apache logs to find out why you have
the 500 error might help.
(a hunch tells me it might be a python path error)
ash
On 28 J
Hi,
I'm trying to get my first Django app up and running on amazon ec2
fedora 8 instance on apache with mod_python. I've got mod_python MySQL-
python python-devel Django mysql-server installed.
I've got the homepage to show up, but its a very simple view that just
returns text
On Mon, Jan 24, 2011 at 10:10 AM, octopusgrabbus
wrote:
> I'm trying to reconfigure to mod_wsgi and am wisely starting with a
> workstation.
>
>
If I'm understanding you correctly, you're trying to migrate from using
apache/mod_python to serve your Django project to
On Monday, January 24, 2011 3:10:17 PM UTC, octopusgrabbus wrote:
>
> I'm trying to reconfigure to mod_wsgi and am wisely starting with a
> workstation.
>
> What changes in this line which is in full context below:
> PythonHandler django.core.handlers.modpython
>
> modpython changes, but to wha
I'm trying to reconfigure to mod_wsgi and am wisely starting with a
workstation.
What changes in this line which is in full context below:
PythonHandler django.core.handlers.modpython
modpython changes, but to what does it change?
Listen 8002
WSGIScriptAlias / /home/amr/django/django.wsgi
Alias
Hello everyone,
I am currently trying to debug some weird session handling issues for
a Django application (Review Board), which is running on top of
mod_python / Apache:
What seems to happen is that authenticated user sessions are leaking
and get re-used for new browser sessions that have never
ango-users@googlegroups.com [mailto:django-us...@googlegroups.com] On
Behalf Of Graham Dumpleton
Sent: Saturday, November 13, 2010 1:28 AM
To: Django users
Subject: Re: Django mod_python under apache
For mod_python the result of using print will only show in Apache
error log when you do an explicit flush of
For mod_python the result of using print will only show in Apache
error log when you do an explicit flush of stdout. If using mod_wsgi,
it autoflushes on newline so you don't have this problem.
Graham
On Nov 13, 7:29 am, vivek_12315 wrote:
> I have configured Django with mod_python unde
On Fri, 2010-11-12 at 12:29 -0800, vivek_12315 wrote:
> I have configured Django with mod_python under apache web server.
>
>
do not do this - mod_python is dead and is now officially deprecated by
django. Use mod_wsgi instead.
--
regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS
The recommended way to do this is to actually use Python's logging
module. If you're using trunk or 1.3 beta then you can configure it
right in settings.py.
If you really want to view print statements, use the development
server (in your development environment) and you'll see them.
Also, dependi
I have configured Django with mod_python under apache web server.
I would like to know, where can i see the print statements output for
debugging which i put in python files in django views.
I dont think print statement appears in Apache logs ...
--
You received this message because you are
This isn't directly related to your question, but mod_python is not a
recommended method of deploying Django. Support for it will be
deprecated. You might want to check out mod_wsgi.
On Nov 1, 5:15 pm, The End wrote:
> I've finally got mod_python and mysqldb working with apache
with addressing errors now.
It's a bit different than the manage.py runserver apparently :P
On Nov 2, 3:31 am, Daniel Roseman wrote:
> On Nov 1, 9:15 pm, The End wrote:
>
>
>
> > I've finally got mod_python and mysqldb working with apache (long
> > story short, can
On Nov 1, 9:15 pm, The End wrote:
> I've finally got mod_python and mysqldb working with apache (long
> story short, can't install wsgi for various reasons and i'm using
> python 2.4.3... for various reasons...).
>
> However
>
> Now when i load up the hom
I've finally got mod_python and mysqldb working with apache (long
story short, can't install wsgi for various reasons and i'm using
python 2.4.3... for various reasons...).
However
Now when i load up the home page (just typing 'localhost' into
firefox) i get the liter
On Fri, Oct 1, 2010 at 15:17, Daniel Roseman wrote:
> Either use
> a DocumentRoot directive
Thanks! I solved the problem using the directive. Thanks really a lot! :-)
--
K.
Blog Personale: http://www.karimblog.net
--
You received this message because you are subscribed to the Google Groups
"
On Aug 28, 9:56 am, Reinout van Rees wrote:
> On 08/28/2010 01:35 AM, Jesse wrote:
>
> > I'm trying to load django/python 27/apache onto Windows XP. I'm
> > following the instructions that recommends mod_python. Mod_python is
> > no longer available. What
On Aug 28, 5:21 am, Jesse wrote:
> I'm loading django onto Windows XP professional with Apache.
> Unfortunately, I need mod_python which only works with python 2.3.
> Django needs python 2.4 and above. Is there a way around this?
The mod_python download page at www.modpytho
On Sat, Aug 28, 2010 at 7:27 AM, Jesse wrote:
> Do I not need it to run Apache on Windows with Django? Or what is the
> alternative? This is the 5th server I've set up and I've always used
> mod_python until now. How do I get past this mod_python step?
Seriously - the answ
On 08/28/2010 01:35 AM, Jesse wrote:
I'm trying to load django/python 27/apache onto Windows XP. I'm
following the instructions that recommends mod_python. Mod_python is
no longer available. What is it's replacement? Will apache work
without it?
mod_wsgi.
(wsgi = web
On Fri, 2010-08-27 at 16:35 -0700, Jesse wrote:
> I'm trying to load django/python 27/apache onto Windows XP. I'm
> following the instructions that recommends mod_python. Mod_python is
> no longer available. What is it's replacement? Will apache work
> without it?
I'm trying to load django/python 27/apache onto Windows XP. I'm
following the instructions that recommends mod_python. Mod_python is
no longer available. What is it's replacement? Will apache work
without it?
Jesse
--
You received this message because you are subscribed to th
Do I not need it to run Apache on Windows with Django? Or what is the
alternative? This is the 5th server I've set up and I've always used
mod_python until now. How do I get past this mod_python step?
Jesse
On Aug 27, 2:16 pm, Steve Holden wrote:
> On 8/27/2010 3:21 PM, Jess
On 8/27/2010 3:21 PM, Jesse wrote:
> I'm loading django onto Windows XP professional with Apache.
> Unfortunately, I need mod_python which only works with python 2.3.
> Django needs python 2.4 and above. Is there a way around this?
> Thx
>
Stop needing mod_python? It'
I'm loading django onto Windows XP professional with Apache.
Unfortunately, I need mod_python which only works with python 2.3.
Django needs python 2.4 and above. Is there a way around this?
Thx
--
You received this message because you are subscribed to the Google Groups
"Django us
ur/path/to/static'}),
)
On 24 Sie, 16:57, Shamail Tayyab wrote:
> Hi,
>
> I am facing an issue where I cannot get the admin interface working
> properly when running mod_python. Although when running it using
> development server, its works fine.
>
> Proble
Hi,
I am facing an issue where I cannot get the admin interface working
properly when running mod_python. Although when running it using
development server, its works fine.
Problem:
Admin interface is missing the static contents, like css, the
interface comes though.
Related info:
OS
im done using mod_python , i have switched to mod_wsgi completely,
thanks guys for all your help
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from
On Jun 25, 8:32 am, Xavier Ordoquy wrote:
> Le 25 juin 2010 à 00:23, commonzenpython a écrit :
>
> > im new to mod_python, so could you please tell me how to set ash/media
> > to serve statically with apache
>
> Hi,
>
> The documentation about Django seems pretty
Le 25 juin 2010 à 00:23, commonzenpython a écrit :
> im new to mod_python, so could you please tell me how to set ash/media
> to serve statically with apache
Hi,
The documentation about Django seems pretty clear about static media to me.
Have a look at
http://docs.djangoproject.com/
im new to mod_python, so could you please tell me how to set ash/media
to serve statically with apache
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe
mod_python is dead.
you can just serve your static files .. statically. usually you might
point at a cdn or put nginx in front although you could set /media or /
ash/media to serve statically with apache.
On Jun 24, 5:47 pm, commonzenpython wrote:
> i have been playing with django us
i have been playing with django using mod_python, so i activated the
admin for my application and instead of the pretty looking page, i
get :
Django administration
Welcome, ashtanga. Change password / Log out
Site administration
Auth
Groups Add Change
Users Add Change
Sites
Sites
On 11 Jun., 15:30, Karen Tracey wrote:
> Yes, you've got your admin registrations in your models.py file. models.py
> won't necessarily be loaded early in a production environment with
> DEBUG=False, so these registration calls are not running before you start
> using admin. Move admin registrati
On Fri, Jun 11, 2010 at 4:49 AM, Jan Meier wrote:
> And my model my_app/models.py looks as follows:
>
> from django.db import models
> from django.contrib import admin
>
> class Blubb(models.Model):
>x = models.IntegerField()
>
> admin.site.register(Blubb)
>
> Any ideas what could be wron
Hi,
I am serving my django project with mod_python and ran into a problem
regarding the admin interface (django.contrib.admin). If DEBUG = False
is set in settings.py the admin interface generates 404 error messages
when clicking on any of my models, for example to add a new entry. The
django
looks like ?
Regards
Aldo Nievas | SATIO Software Solutions
aldo.nie...@satio.com.ar
www.satio.com.ar
MSN: aldo.nie...@gmail.com
SKYPE: aldo.nievas
On Sat, Jun 5, 2010 at 12:49 PM, Jagdeep Singh Malhi <
singh.malh...@gmail.com> wrote:
>
> MOD_PYTHON ERROR
>
> ProcessId: 3219
It says you're missing a 500.html template.
Without it, you can't see any error pages. See
http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view
Once you've made that template, you should be able to see what other
errors are happening.
-Justin
On Jun 6, 12:16 am, Jagd
ok sir , thanks very much indeed
i try my best..
On Jun 6, 8:52 am, Kenneth Gonsalves wrote:
> On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote:
>
> > Sir , i am not able to remove this error..
> > which of template or file name is wrong..
>
> how would I know? I know
On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote:
> Sir , i am not able to remove this error..
> which of template or file name is wrong..
>
how would I know? I know nothing about your directory structure, your models
and views.
--
Regards
Kenneth Gonsalves
Senior Associa
rote:
> It seems that your application is trying to render a template that
> doesn't exist.
>
> And why are you using mod_python anyway?
>
> On Sat, Jun 5, 2010 at 5:49 PM, Jagdeep Singh Malhi
>
> wrote:
>
> > MOD_PYTHON ERROR
>
> > ProcessId:
Sir , i am not able to remove this error..
which of template or file name is wrong..
On Jun 5, 5:09 pm, Kenneth Gonsalves wrote:
> On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote:
>
> > File "/usr/local/lib/python2.6/dist-packages/django/template/
> > loader.py", line
Jagdeep Singh Malhi wrote:
> MOD_PYTHON ERROR
> please help...
use mod_wsgi, mod_python is old and not more mantained
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi
--
()_() | That said, I didn't actually _test_ my patch. | +
(o.
On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote:
> File "/usr/local/lib/python2.6/dist-packages/django/template/
> loader.py", line 138, in find_template
> raise TemplateDoesNotExist(name)
>
> TemplateDoesNotExist: 500.html
>
you are calling a template with either the wrong pat
It seems that your application is trying to render a template that
doesn't exist.
And why are you using mod_python anyway?
On Sat, Jun 5, 2010 at 5:49 PM, Jagdeep Singh Malhi
wrote:
>
> MOD_PYTHON ERROR
>
> ProcessId: 3219
> Interpreter: '127.0.1.1'
MOD_PYTHON ERROR
ProcessId: 3219
Interpreter:'127.0.1.1'
ServerName: '127.0.1.1'
DocumentRoot: '/var/www'
URI:'/'
Location: '/'
Directory: None
Filename: '/var/www/'
Thanks very much
But Now the new are is come
MOD_PYTHON ERROR
ProcessId: 3219
Interpreter:'127.0.1.1'
ServerName: '127.0.1.1'
DocumentRoot: '/var/www'
URI:'/'
Location: '/'
Directory: None
Fil
On Saturday 05 June 2010 16:30:46 Jagdeep Singh Malhi wrote:
> PythonPath "['/home/username/mysite'] + sys.path"
>
PythonPath "['/home/username/'] + sys.path"
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google
MOD_PYTHON ERROR
ProcessId: 3793
Interpreter:'127.0.1.1'
ServerName: '127.0.1.1'
DocumentRoot: '/var/www'
URI:'/'
Location: '/'
Directory: None
Filename: '/var/www/'
x27;C:/Program
Files/Apache2.2/htdocs/mysite','c:/Program Files/Apache Software
Foundation/Apache2.2/htdocs', '/django']"
I found error in browser like:
MOD_PYTHON ERROR
ProcessId: 3000
Interpreter:'asraful.brotecs.com'
ServerName: 'asraf
On 16 April 2010 16:05, Owen Nelson wrote:
> Opps! Since it's an alias, you need to tell apache what server location
> to map.
> For example, if you want http://localhost/ to map to your application:
> WSGIScriptAlias / /path/to/my/wsgi/my.wsgi
> Or if you wanted http://localhost/myapp to map inst
Opps! Since it's an alias, you need to tell apache what server location
to map.
For example, if you want http://localhost/ to map to your application:
WSGIScriptAlias / /path/to/my/wsgi/my.wsgi
Or if you wanted http://localhost/myapp to map instead
WSGIScriptAlias /myapp /path/to/my/wsgi/my.wsgi
-
The WSGIScriptAlias directive should point directly to the wsgi script
-- in your case the line should read:
WSGIScriptAlias /home/carlo /home/carlo/mysite/django.wsgi
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
On 16 April 2010 14:55, Karen Tracey wrote:
> mod_python development is moribund, mod_wsgi has an active helpful
> maintainer. It's reasonably straightforward to configure mod_wsgi to get
> control only for a certain portion of the URL space, getting that config
> correct for mod
On Fri, Apr 16, 2010 at 10:46 AM, Carlo Trimarchi wrote:
> On 16 April 2010 14:42, Karen Tracey wrote:
> > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi
> is a
> > lot easier to configure properly for this type of setup.
>
> Not sure. I thought
On Fri, Apr 16, 2010 at 3:46 PM, Carlo Trimarchi wrote:
> On 16 April 2010 14:42, Karen Tracey wrote:
>> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
>> lot easier to configure properly for this type of setup.
>
> Not sure. I thought it was t
On 16 April 2010 14:42, Karen Tracey wrote:
> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
> lot easier to configure properly for this type of setup.
Not sure. I thought it was the preferred way, byt maybe I'm wrong. Is
there any advantage in using one
Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
lot easier to configure properly for this type of setup.
Karen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
The problem is that I can't set Location to "/", because everything
else (i.e. php) will stop to work as usual. So what I'd like to do is
to set location to a specific location, but I don't know how. I tried
different things, but nothing worked.
When I installed mod_py
On 5 avr, 21:49, Nihaar Gupta wrote:
> Help. I'm a bit of an apache/mod_python noob and am not sure what is
> causing this error. I get this at page load every so often (not all
> the time). Sometimes the page loads fine and sometimes it throws this
> exception.
>
> Gues
Help. I'm a bit of an apache/mod_python noob and am not sure what is
causing this error. I get this at page load every so often (not all
the time). Sometimes the page loads fine and sometimes it throws this
exception.
Guessing from the fact that this occurs only sometimes, perhaps this
is a
get more logging etc about what is going
on.
Graham
On Mar 5, 8:42 am, Facundo Casco wrote:
> Hi, I'm having a problem after upgrading from Python 2.5 to 2.6
>
> I'm using Gentoo and running a Django app with Apache 2 and mod_python.
> After the upgrade I started getting a
Hi, I'm having a problem after upgrading from Python 2.5 to 2.6
I'm using Gentoo and running a Django app with Apache 2 and mod_python.
After the upgrade I started getting a segfault when I try to access
the site, Apache starts fine and can serve static pages.
I've tried mov
Hello All,
I am trying to get my admin pages work but failed. I have several
django apps on the same hosting. For the latest I dopped in the latest
brand new django 1.1.1 and mentioned it via PythonPath directive.
Everything works but admin pages - they miss link to base.css.
-- settings.p
/2 Malcolm Box
> Hi,
>
> I'm seeing a strange problem with Last-modified headers on my
> Apache/mod_python install. The problem being that they don't get sent.
>
> Running my django app locally, and using 'curl -v' to see the headers, I
> see correctly gener
Hi,
I'm seeing a strange problem with Last-modified headers on my
Apache/mod_python install. The problem being that they don't get sent.
Running my django app locally, and using 'curl -v' to see the headers, I see
correctly generated 'Last-modified' headers.
Wh
colnloop.com/blog/2008/mar/25/serving-django-cherrypy/
>
> > for an example and code for django_cpserver.
>
> > -C
>
> > On Jan 20, 1:28 pm, gs_toronto wrote:
>
> > > I have this apache installation which has mod_python, but that's bound
> > > to
ing-django-cherrypy/
>
> for an example and code for django_cpserver.
>
> -C
>
> On Jan 20, 1:28 pm, gs_toronto wrote:
>
> > I have this apache installation which has mod_python, but that's bound
> > to an existing python2.3 installation (which is in use for othe
could proxy
to cherrypy's wsgi server. See
http://lincolnloop.com/blog/2008/mar/25/serving-django-cherrypy/
for an example and code for django_cpserver.
-C
On Jan 20, 1:28 pm, gs_toronto wrote:
> I have this apache installation which has mod_python, but that's bound
> to an ex
I have this apache installation which has mod_python, but that's bound
to an existing python2.3 installation (which is in use for other web
app, that uses compiled python extensions which won't work with
py2.5). python2.3 doesn't have sqlite3 module (and 'pysqlite2' add-o
On Sun, Jan 3, 2010 at 7:33 PM, Sergio Lobo wrote:
> Hi!
>
> I am having a problem to configure mod_python for my Django project. I
> even created a new project and the problem remains. Below is the
> relevant part of my http.conf and the error message I get. From what I
> und
Hi!
I am having a problem to configure mod_python for my Django project. I
even created a new project and the problem remains. Below is the
relevant part of my http.conf and the error message I get. From what I
understand mod_python is not finding my dummy.settings. Any help will
be greatly
Answered in reply to your mod_python mailing list post.
http://www.modpython.org/pipermail/mod_python/2009-December/026415.html
Graham
On Dec 22, 9:45 pm, bharath wrote:
> Hi,
>
> Django is taking time loading libraries . I am using python open
> source libraries like
n django is run using python manage.py runserver
> first request takes time but rest of the requests doesn't take time
> ( quite fast ) ,which is acceptable but when django is used along
> with apache and mod_python
> it takes time as much time as django takes for first request when
time
( quite fast ) ,which is acceptable but when django is used along
with apache and mod_python
it takes time as much time as django takes for first request when run
using python manage.py runserver for almost every request.
How to avoid this as our performance is greatly hindered by this
behaviou
runserver 8000"
*col = "%s:%s" % (field.name and field.verbose_name,
getattr(model_instance, **field**.name)) *
but, when I run my project with " apache + mod_python ".
it raise this Exception :
"Exception=,e='ascii' codec can't decode byte
0xe7 in
On Nov 27, 8:21 pm, Gabriel Rossetti
wrote:
> Hello everyone,
>
> this is a bit off-topic, in my apache2 httpd.conf, I see some poeple use
> "SetHandler mod_python" and others (as mentioned in the docs) use
> "SetHandler python-program", what is the differen
Hello everyone,
this is a bit off-topic, in my apache2 httpd.conf, I see some poeple use
"SetHandler mod_python" and others (as mentioned in the docs) use
"SetHandler python-program", what is the difference?
Thank you,
Gabriel
--
You received this message because you a
ly need it. I
> > really appreciate if there are any ideas.
>
> Which part of:
>
> http://docs.djangoproject.com/en/dev/howto/deployment/modpython/
>
> don't you understand?
>
> Probably the only bit that isn't clear is that mod_python does assign
> distinct
>
> don't you understand?
>
> Probably the only bit that isn't clear is that mod_python does assign
> distinct sub interpreters for different ports for same ServerName
> value in VirtualHost. You therefore need to set PythonInterpreter
> explicitly to different value
2008/3/5 Pigletto :
>
>> > Problem is possibly with multiple interpreters and psycopg2 again,
>>
>> Why do you say that? The thread you refer to above doesn't talk about
>> mod_python, so do you have any extra evidence that support this claim?
> There was a
On Oct 19, 6:10 pm, Lars Stavholm wrote:
> Bit of an annoying problem with apache2 + mod_python configuration.
>
> I've got my django site setup and working. When adding a
> directive in the apache config which then includes authentication,
> the SetHandler None directive
On Monday 19 Oct 2009 12:40:48 pm Lars Stavholm wrote:
>
> SetHandler mod_python
> PythonInterpreter main_interpreter
> PythonHandler trac.web.modpython_frontend
> PythonOption TracEnv /var/trac/bfact
> PythonOption TracParentEnv /var/trac
> PythonOpt
1 - 100 of 1237 matches
Mail list logo