I'd like to hear some discussion regarding what seems to be a common
situation and how to best address it within Django-powered sites.
Frequently there will be hierarchical data stored in the db as tables
with foreign keys linking lower-level tables to their parents. As an
example, let's presume
On Sat, 5 Nov 2005 14:31:30 +0100 Sune Kirkeby wrote:
> On 11/5/05, hugo <[EMAIL PROTECTED]> wrote:
> > I think the reversed order is just counter-intuitive - you just
> > don't think about it when adding middleware and talking about
> > middleware.
>
> It's perfecetly obvious to me. I think of
On 5-11-2005, at 15:58, Pedro Furtado wrote:
Just for
illustration, I use non-english caracters in model's verbose name.
IIRC, (x)gettext will have problems if message id's have non ASCII
characters. Better use english only characters in all messages to
avoid potential problems.
---
Neb
>I'm having some headaches with this and don't know how to fix it. For
>now I've changed all the files to ASCII and it works fine, but when I
>save it in UTF-8 the site has some encoding problems. Just for
>illustration, I use non-english caracters in model's verbose name.
Django is by default co
Django handles the encoding too?
I'm having some headaches with this and don't know how to fix it. For
now I've changed all the files to ASCII and it works fine, but when I
save it in UTF-8 the site has some encoding problems. Just for
illustration, I use non-english caracters in model's verbose
On 11/5/05, hugo <[EMAIL PROTECTED]> wrote:
> I think the reversed order is just counter-intuitive - you just don't
> think about it when adding middleware and talking about middleware.
It's perfecetly obvious to me. I think of it like a normal call-stack;
the request walks down the middleware-st
>Also, can you come up with an actual middleware, which needs
>to run in different places in the req. and resp. chains? Otherwise
>this whole discussion is a bit academic, and the code to handle
>it in django would be cruft.
As I wrote in the ticket #730: the LocaleMiddleware needs to come in
pro
On 11/4/05, Luke Plant <[EMAIL PROTECTED]> wrote:
> Yes, I like this idea. As I was working with this I found myself think
> a number of times that with a couple more middleware's thrown into the
> mix and you could easily have an impossible set of constraints to
> satisfy.
Actually, if you have