runfcgi - complete lack of joy.

2007-10-17 Thread jtm
in the form of: http://192.168.1.10/django/admin/ or http://192.168.1.10:8080/admin/ or http://192.168.1.10:8080/django/admin/ Thanks for your help, jtm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Improving performance of lighttpd, flup and django-fcgi.py combo

2006-04-06 Thread jtm
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 ha

Improving performance of lighttpd, flup and django-fcgi.py combo

2006-04-06 Thread jtm
this? If no, are there any hints I need that I am not going to find in the docs? regards, jtm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: numeric formatting

2006-03-27 Thread jtm
string (eg your preformatted number). obviously does not care about your locale. jtm --~--~-~--~~~---~--~~ 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

Solved: Table not found error when ordering by foreign key

2006-03-19 Thread jtm
uery for my purposes, but it will do for now. jtm --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe fr

Re: Table not found error when ordering by foreign key

2006-03-16 Thread jtm
Hi Adrian, Thanks for the reply. I did try using the full table names without success. This is the error and traceback (with real class names): OperationalError at /debtors/current/ (1109, "Unknown table 'matterlist_matters' in order clause") Traceback (most recent call last): File "/opt/lo

Table not found error when ordering by foreign key

2006-03-12 Thread jtm
as'. Everything seems to be importing fine. Does anyone have any hints? thanks, jtm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: DateTimeField TypeError: replace() takes no keyword arguments?

2005-08-20 Thread jtm
is another way to add foreign keys? Thanks, jtm

DateTimeField TypeError: replace() takes no keyword arguments?

2005-08-20 Thread jtm
t from django when you're in the browser would be warmly received. Thanks again, jtm

Questions about Django model exceptions and request data

2005-08-20 Thread jtm
't yet check to see if it even works): last_ip_address=request.META.get('REMOTE_ADDR') Thanks for your help. I've got a dozen Django and Python related tabs open in Firefox and I can't locate the answer in any of them. :) jtm

Re: Adding Record Problem

2005-08-19 Thread jtm
If I understand things correctly, Django creates an 'id' field for each model automatically, I assume set to unique and to auto-increment, thus avoiding the problem you are seeing. The easiest thing to do is not to create your own 'id' field and use the one Django puts in place for you. jtm

Re: Multi-tiered edit-inline or multi-page admin screens?

2005-08-03 Thread jtm
Adrian, Are there any hooks that would make it possible to do recursive edit_inlines from within the application, or would it have to be set up in the Django code? Is there anything like a "render, validate, update_me, insert_me, delete_me" base class that my models I can inherit from to do such

Multi-tiered edit-inline or multi-page admin screens?

2005-08-02 Thread jtm
Hi, I can't seem to get edit-inline to work deeper than one level. Simplified example: class A(meta.Model): fields = ( meta.CharField('a_value'), ) admin = meta.Admin() class B(meta.Model): fields = ( meta.ForeignKey(A, edit_inline=True), meta.CharField(