mod_python error (help please)

2005-10-07 Thread Abe
I've searched through the documentation on the djangoproject page, and several of the postings here... but I have not been able to solve a mysterious mod_python problem: --snip-- Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib

Can a field's validator access the request object?

2005-10-07 Thread Jason Huggins
By default, it looks like validators in Django are only given the new field's value and the posted form data... I have a custom validator for my model that depends on information only available in the request. How can I get to the request object from inside the validator? I've added a keyword arg

newbieQ: having different databases for apps, and referencing tables from other applications

2005-10-07 Thread Ian Holsman
Hi. I was wondering if it was possible to have different app's have different apps in the same project. for example if I wnat the forums from 'clepy's' and the jobmonitor from greenleaftech in the same project, but have them hit different backends is this possible. and the other related questio

Re: memcached client

2005-10-07 Thread Jeremy Dunck
On 10/7/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > I've been told that the tummy memcached client is a little better > than the danga one, but I've not yet tried it out and I'm not sure if > it works with Django's cache framework. Ah, but I found Tummy from danga, who don't support a cl

Re: memcached client

2005-10-07 Thread Jacob Kaplan-Moss
I've been told that the tummy memcached client is a little better than the danga one, but I've not yet tried it out and I'm not sure if it works with Django's cache framework. As far as I can tell the API hasn't changed so it should work transparently, though. Jacob

memcached client

2005-10-07 Thread Jeremy Dunck
I see here: ftp://tummy.com/pub/python-memcached/ that there's a new client version as of 9/19/2005. Is anyone using that yet? Or which version is recommended? Or is there another python memcached client I don't know about? And is there documentation on it anywhere?

Change URL on Django Admin Site

2005-10-07 Thread Armin
Hi, I need to make some serious damage to admin site, and I realize that the admin site model is not as easily editable as admin templates. How can I change its model, how can I edit it's URL design? I found some stuff on Django source code, but can I just copy them somewhere and edit them withou

Re: Admin three levels deep

2005-10-07 Thread Adrian Holovaty
On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm very new to Django and I'm learning it by adapting the stuff from > the tutorial to a new (test) application, a Forum. The tutorial nicely > explains that you don't want "Polls" and "Choices" in the main menu, > because "Choices" is a

Re: Admin three levels deep

2005-10-07 Thread Tim Stoop
On 10/7/05, Robert Wittams <[EMAIL PROTECTED]> wrote: > Also, be aware that you could make your own entirely custom views that > override areas of the admin if you like. Just hook them into the admin > urlconf. True, but that would be undesirable for me. You'll eventually get all kinds of update

Single admin interface for several SITE_ID's

2005-10-07 Thread Tau
I wonder how to share a single admin interface among several sites and be able to manage different models from a single site. This doesn't look as smooth as views' variations depending on the SITE_ID, hopefully I'm wrong. And how should I specify the varying SITE_ID in the model? I hope you get m

Re: About _post_save

2005-10-07 Thread nichyoung
I have come across a need for this - and hacked around it by checking if I have an existing object in _pre_save and using the answer to determine whether to call code in _post_save. Nick