James Bennett wrote:
> On 4/6/06, jtm <[EMAIL PROTECTED]> wrote:
> > Does this combination of software mean that for every request
> > django is starting from scratch and having to re-import everything?
>
> No, pretty much the whole point of FastCGI is that you have a
> long-running process which
On 4/6/06, jtm <[EMAIL PROTECTED]> wrote:
> Does this combination of software mean that for every request
> django is starting from scratch and having to re-import everything?
No, pretty much the whole point of FastCGI is that you have a
long-running process which handles lots of requests, rather
Hi,
I've just got lighttpd running under Mac OS X 10.3.9 and I am
using Georg Bauer's django-fcgi.py as the dispatcher. django
is .91.
The machine I am running it on is, admittedly, pretty lightweight
(G4 400 MHz, 832MB), but I have not seen much improvement
over the development server.
The pag
You can extend the user model in m-r using a ForeignKey with
edit_inline, num_in_admin=1, max_num_in_admin=1, and unique=True. This
is what my dev team uses to add additional fields to users.
Conceptually, a OneToOneField would probably make more sense, but it
seems that OneToOneField is still be
Hi Arthur,If I will use OneToOne then in admin it wolud be not possible to edit users, which is not in 'myusers' ( using edit_inline) and if disable edit_inline then I sholud edit 'myusers' in to places one in 'users' and then in 'myusers'.
in that case better to use 'ForeignKey' or may be it is ex
I'm still somewhat new to django, so I'm trying to figure out if this
is a good idea, or a warning that I'm headed in the wrong direction.
It would seem highly useful to me if the update_object and
create_opject generic views could also take an additional keyword
argument for the manipulator clas
Hi John. I wanted a bit more flexibility in a development server so
adapted the cherrypy wsgi server to work with Django. In order to use
SQLite, I modified my cherrypy config to use a single thread. Also I had
to be sure that if I was calling the connection to execute raw SQL, I
made sure to
Hi,
I searched both mailing lists but didn't find any reference to the
following, hence my post.
I have written an application that starts a new thread, and as this
thread is executing I want to save data to the database. This worked
when I used postgreSQL, but it failed when I used SQLite. Th
hi michael.
inheritance is not working yet in magic-removal. the confusing thing
about it is you can create the class and the table does get created,
but when you access the same class later in your python code, it will
be treated as the super class (User in your case).
Extending User is a very
On 4/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Well, yeah. But bascially a three-line Python script with a simpleget_list(), returning two small elements, should not be taking seven
seconds.I am not surprised about it. One of the three line you are talking about is something like from djan
Hi all!
What would be the best way to extend User class?
subclassing makes another table and wiki ->
http://www.djangoproject.com/documentation/models/subclassing/
different from m-r.
remove_fileds dosen't work and in admin it is possible to add info to
new class but not to modify it:
from djang
Well, yeah. But bascially a three-line Python script with a simple
get_list(), returning two small elements, should not be taking seven
seconds. I think there's some more basic problem here such as my sever
just being too small/slow/weak.
But I'm looking forward to your Wiki contribution -- I hav
12 matches
Mail list logo