Models over views?

2005-10-17 Thread Jeremy Dunck
I have a table (which I don't control) and would like to represent a calculated column as a (read-only) field. I figure a model over a view or a field over a function result would work, but am not sure how to do either. Any ideas?

Re: Middleware Old-Style Classes

2005-10-17 Thread Adrian Holovaty
On 10/17/05, Shaleh <[EMAIL PROTECTED]> wrote: > Why is that? Moving forward the Python people expect all classes to be > defined as "new-style". Support for old-style is there simply to allow > for backwards compatibility. Because we haven't taken the time to subclass "object" in class

Re: Middleware Old-Style Classes

2005-10-17 Thread Shaleh
Why is that? Moving forward the Python people expect all classes to be defined as "new-style". Support for old-style is there simply to allow for backwards compatibility.

UTF Encoding with rss feed

2005-10-17 Thread Andreas Neumeier
Hello, when generating a rss feed, i get the following: --- There's been an error: Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py", line 64, in get_response response = callback(request, **param_dict) File

User Documentation

2005-10-17 Thread Alice
> > ok ... so ... any documentation planned? Barring that, where's the best > > place to look to start to grasp the user support? > > Yes, documentation is *certainly* planned! If you're too anxious to > wait, check out django/models/auth.py, django/views/auth/login.py and >

Re: "runserver" vs. "runserver :" : a bug?

2005-10-17 Thread Adrian Holovaty
On 10/17/05, Emanuele <[EMAIL PROTECTED]> wrote: > In my experience just running a server on 127.0.0.1 doesn't imply you > can't access it from other IPs. I think that explaining a bit more of > this feature in official docs will prevent other newbies like me to > spend lots of time in this

Re: "runserver" vs. "runserver :" : a bug?

2005-10-17 Thread David MacKinnon
On 10/17/05, Emanuele <[EMAIL PROTECTED]> wrote: > > In my experience just running a server on 127.0.0.1 doesn't imply you > can't access it from other IPs. I think that explaining a bit more of > this feature in official docs will prevent other newbies like me to > spend lots of time in this

Re: "runserver" vs. "runserver :" : a bug?

2005-10-17 Thread Emanuele
Thank you for the answers. Anyway from what is written in the documentation it's not clear to me at all that the default expected behaviour is to forbid accesses not coming from 127.0.0.1: "runserver [optional port number, or ipaddr:port] Starts a lightweight development Web server on the local