compiled in your apache server.
> If you see prefork.c it should be ok.
>
> CC
>
> Jakub Labath a �crit :
> > Hi,
> >
> > Is there a way to detect in my code if I'm running in prefork or threaded
> > mode?
> >
> > Jakub
> >
> > >
Hi,
Is there a way to detect in my code if I'm running in prefork or threaded mode?
Jakub
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goog
good to have an interface (or just guidelines)
> to dynamically build forms, establishing field order,
> etc.
>
> --
> Jeff Bauer
> Rubicon, Inc.
>
>
> >
>
--
Jakub Labath
--~--~-~--~~~---~--~~
You received this message becaus
act that I was
able to insert logging statements everywhere and eventually caught the
problem when I started logging raw request and response headers.
Best Regards
On 12/4/06, Jakub Labath <[EMAIL PROTECTED]> wrote:
> No I'm using prefork MPM.
>
> On 12/3/06, Graham Dumpl
No I'm using prefork MPM.
On 12/3/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
>
> Jakub Labath wrote:
> > Hi All,
> >
> > Sorry for being quiet for a while just got back from a vacation.
> >
> > >
> > > Hi Jakub,
> > >
go I spent ridiculous amount of time switching
our production server from debian to gentoo hoping to solve the
problem quickly by using more recent software - that did not happen.
At this point I really need a tool to reproduce the problem quickly
and then debug the hell
rmally happen should it. The memory
address of response object also matches. It also matches the time when
the users noticed it.
I'll be upgrading both apache2 and mod python soon to their latest
versions, we'll see if this happens again.
Best Regards
On 11/6/06, Jakub Labath <[
wrote:
>
> Bill de hOra wrote:
> >
> > http://www.djangoproject.com/documentation/cache/
>
> One other thing; be sure you are only ever issuing the initial cookie
> with POST request and not a GET.
>
> cheers
> Bill
>
> >
>
--
Jakub Labath
--~--~--
Hi argh44z,
But did you have the same problem? Was the same sessionid sent to
different clients?
Thanks for help
On 11/3/06, argh44z <[EMAIL PROTECTED]> wrote:
>
> On Nov 3, 12:26 pm, "argh44z" <[EMAIL PROTECTED]> wrote:
> > On Nov 3, 10:23 am, "
e is a correlation between the frequency of the problem and a
server load.
I'm not even sure if this is a django problem.
Anybody experienced something similar?
--
Jakub Labath
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
Thanks for advice Malcolm!
I feel a sample would save some time to other people. Time that i had to spend.
class OnlyRealProfileSQL:
def get_sql(*args):
#select name from django_content_type where app_label =
'users' and model != 'profile' and model like '%p
rofile'
retu
Hi All,
On 8/25/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> Check out Django's internal dispatcher; whenever an instance of a
> model is saved, the dispatcher signals 'pre_save' and 'post_save' are
> fired before and after the save, respectively, with information about
> the class of model w
Hi,
> On 8/9/06, Vance Dubberly <[EMAIL PROTECTED]> wrote:
> > I very much want to subclass User as I have more than one kind of user
> > and each has a different type of profile.
>
> Which is a different situation from probably 80% of the needs people
> have for extending the User model.
I thin
Hi,
Has anybody tried running the mod_python and django with the
PythonOptimize flag enabled?
Did it make any difference? Anything else interesting came out of it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
Hi,
I have web server that is accessed both via http and https is there a
way for me to tell which is used?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
Hi,
My first attempt at #22 is in trac.
http://code.djangoproject.com/ticket/22
It's just a quick thing that I needed. But I will welcome suggestions
and ideas how to make this better.
Best Regards
On 3/12/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> never go round to it - havent even st
Hi,
I tracked this down.
You can overwrite the template that is responsible for the file
widget, like this.
1. in your templates directory create widget directory.
2. copy trunk/django/contrib/admin/templates/widget/file.html to the
widget folder you created.
3. edit as needed.
Regards
On 2/
Hi,
I believe as soon as you call socket.setdefaultimeout it also changes
certain behavior for ALL sockets in general (blocking non blocking
etc) plus obviously the timeout.
That is in my opinion pure evil(TM) because surely database drivers,
connection handlers, logging tools and god knows what
Hi,
class Category(meta.Model):
name = meta.CharField(maxlength=255)
class Article(meta.Model):
title = meta.CharField(maxlength=255)
category = meta.ForeignKey(Category)
class Pillar(meta.Model):
name = meta.CharField(maxlength=255)
categories =
meta.ManyToManyField(Category,
Hi,
This seems more like a postgres problem more than a django one.
It would appear that you have data in different charsets (bad idea).
What I would do is just dump the data (convert them to utf8 if needed
- see iconv) and then restore everything in a utf8 database.
1. pg_dump -U someuser blah
Hi,
It still reverses the order for me and I'm only adding fields as well.
Fortunately
I don't really need the parent class for anything. So i just listed
fields in parent in reverse order, so my children classes then get the
fields in proper order. It's crude but It works.
Ideally there would be
Hi,
I work for a publishing company that publishes several magazines and
also maintains websites for those magazines online.
Right now most of the websites live on different servers written in
different languages.
The plan is to unite them all and move to django.
However the most important feat
Hi,
While the job posting below is relatively generic. What we are really
looking for is someone to help us build next generation of our
websites in Django.
If you are interested please email your resumes to: [EMAIL PROTECTED]
ST. JOSEPH MEDIA
POSITION: Web Developer
REPORTS TO: VP, IMS
LOCATIO
This may sound silly, but have you tried renaming that property in your model?
Or better yet using db_column parameter.
Would that help you?
DMI_id = meta.SlugField(db_index = True, unique = True,
prepopulate_from=("title",),db_column="dmi_id")
Wild guess: maybe escaping functions made somethin
Hi,
1. No it doesn't have to be external web server. Here is what I do with Apache.
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings.main
SetHandler None
The SetHandler None w
Hi Joshua,Eugene,
Joshua, you are of course right. At the same time when there is
someone like me trying to replace existing solutions in place (which
are all under IIS and MSSQL). Declaring one day company-wide switch
to a different SQL server, different operating system and different
framework
Hi,
I believe that there are some problems with mod_python for apache 1.3.
I'm using apache2 and mod_python 3.1 (just what comes with debian by default).
And all seems to work fine. I know, if you have no reason to go to
apache2 this sucks a bit but there is always proxypass :-)
On 9/18/05, mobe
Are you familiar with any sort of database? (think of RDBMS as if it
was fancy version of Excel). The django itself doesn't force you to
know anything about SQL. Perhaps the only exception is that you will
need to know how to create and delete databases in
(postgresql/mysql/sqllite/whichever you u
28 matches
Mail list logo