error: (10053, 'Software caused connection abort')

2005-09-09 Thread Eugene Lazutkin
Hello, Running Django locally under "runserver" I am getting following errors: Traceback (most recent call last): File "C:\Program Files\Python24\lib\site-packages\django\core\servers\basehttp.py", line 273, in run self.finish_response() File "C:\Program Files\Python24\lib\site-packag

SuspiciousOperation: User tampered with session cookie.

2005-09-09 Thread [EMAIL PROTECTED]
Instalation of django on: Linux Debian Sarge 3.1 Python 2.3.5 mod_python 3.1.3 (tested also with 3.1.4) Apache 2.0.54 Configuration of apache: ServerName www.my.com SetHandler python-program SetEnv DJANGO_SETTINGS_MODULE project.settings.admin PythonHandler django.core.handlers.mod

Re: Doing things to models after instantiation but before use

2005-09-09 Thread Adrian Holovaty
On 9/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I want it so that I can do some model specific object composition after > it loads from the db, ie if field 'type' is set to XXX then instantiate > and attach a XXXHandler and if it's set YYY then instantiate a > YYYHandler. Generally, tha

Doing things to models after instantiation but before use

2005-09-09 Thread [EMAIL PROTECTED]
I'm looking for a hook into my model objects after django has instantiated them but before my view/template calls for them. I don't want to use __init__ but is there some other method that by naming convention will get called on all models on their way out of the creation process. I guess what I a

Django on Solaris?

2005-09-09 Thread Adrian Holovaty
Anybody out there using Django on Solaris? What Solaris-specific pitfalls should I watch out for? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org

Re: memcached question

2005-09-09 Thread Jacob Kaplan-Moss
On Sep 9, 2005, at 12:08 PM, Eugene Lazutkin wrote: django.core.cache defines two cache classes: _MemcachedCache and _SimpleCache. If I understood correctly, _MemcachedCache.get() returns a string value, while _SimpleCache.get() returns an HttpResponse object. Is it a correct statement? N

memcached question

2005-09-09 Thread Eugene Lazutkin
Hello, django.core.cache defines two cache classes: _MemcachedCache and _SimpleCache. If I understood correctly, _MemcachedCache.get() returns a string value, while _SimpleCache.get() returns an HttpResponse object. Is it a correct statement? Thanks, Eugene

Ordering question

2005-09-09 Thread jocknerd
I've got two classes defined. Here's the first: class School(meta.Model): long_name = meta.CharField("Official Name", maxlength=100) nickname = meta.CharField("Mascot", maxlength=50) class META: ordering = ('long_name',) admin = meta.Admin( search_fields = ['long_na

Re: Packaging django apps

2005-09-09 Thread Jason F. McBrayer
On Thu, 2005-09-08 at 19:21 -0700, Jason Huggins wrote: > Jason F. McBrayer wrote: > > Hi. I've more-or-less finished a django app that might be useful to > > other people > > > I'd like to package this for other people in a way that is as convenient > > for them as possible, while not requiring

Fwd: Ticket #461 (enhancement) - Support use of pypgsql instead of psycopg

2005-09-09 Thread Carlo C8E Miron
Forwarding to Federico and to list for completeness (maybe also for furter suggestions.. ;) -- Forwarded message -- From: Tristan Lawrence <[EMAIL PROTECTED]> Date: 9-set-2005 3.01 Subject: Re: Ticket #461 (enhancement) - Support use of pypgsql instead of psycopg To: Carlo C8E Mir