Hi,
I agree that my proposed syntax was a little bit horrible ... but I
really wonder if it can be different.
Your syntax is interesting but :
- I'm not sure it's really "djangoic" in the sense that it introduce
a new way to declare markup '[[' and ']]'
- the other problem I see is that it
I found something.
FilterExpression seems to be a bad boy.
Check out these two pieces of code (in the __init__ function of
FilterExpression):
if i18n_constant:
var = "'%s'" % _(i18n_constant)
elif constant:
var = "'%s'" % co
I am new to Django and Python and trying to learn by going thru an
open source application called Vection. I get everything up and
running except for the static images. I followed the article at
http://www.djangoproject.com/documentation/static_files/ put I still
can't get the images to serve. Cou
On 11/17/07, ElegSub <[EMAIL PROTECTED]> wrote:
> We will disagree about the accuracy of that statement but your
> response is by far the most clear and succinct response to this
> question yet. Thank you.
The problem is that people pop up every couple weeks and ask precisely
the sort of thing yo
On 11/17/07, Mark Green <[EMAIL PROTECTED]> wrote:
> {% blocktrans with value|filter as number %}
> This will have [[]]one item[[]] inside
[...]
I stopped reading here. Anything that involves adding more syntax to
the template language gets a reflexive -1 from me. Our goal is to keep
the syntax a
On Sun, 2007-11-18 at 11:23 -0600, Jacob Kaplan-Moss wrote:
> On 11/17/07, Mark Green <[EMAIL PROTECTED]> wrote:
> > {% blocktrans with value|filter as number %}
> > This will have [[]]one item[[]] inside
> [...]
>
> I stopped reading here. Anything that involves adding more syntax to
> the temp
On Sun, 2007-11-18 at 02:01 -0800, alain D. wrote:
> Hi,
>
> I agree that my proposed syntax was a little bit horrible ... but I
> really wonder if it can be different.
>
> Your syntax is interesting but :
> - I'm not sure it's really "djangoic" in the sense that it introduce
> a new way t
On Mon, 2007-11-19 at 00:22 +0100, Mark Green wrote:
>
> On Sun, 2007-11-18 at 02:01 -0800, alain D. wrote:
[...]
> > Your syntax is interesting but :
> > - I'm not sure it's really "djangoic" in the sense that it introduce
> > a new way to declare markup '[[' and ']]'
>
> Well, as said, the
On Mon, 2007-11-19 at 11:38 +1100, Malcolm Tredinnick wrote:
>
> On Mon, 2007-11-19 at 00:22 +0100, Mark Green wrote:
> >
> > On Sun, 2007-11-18 at 02:01 -0800, alain D. wrote:
> [...]
> > > Your syntax is interesting but :
> > > - I'm not sure it's really "djangoic" in the sense that it intr
I've been playing with the Django tests a bit and noticed something
odd. Here's what the docs say:
Yes, the unit tests need a settings module, but only for database
connection info, with the DATABASE_ENGINE setting. You will also need
a ROOT_URLCONF setting (its value is ignored; it just needs to
On Sun, 2007-11-18 at 22:54 -0500, Todd O'Bryan wrote:
> I've been playing with the Django tests a bit and noticed something
> odd. Here's what the docs say:
>
> Yes, the unit tests need a settings module, but only for database
> connection info, with the DATABASE_ENGINE setting. You will also n
Think I figured out the problem. Ubuntu doesn't look at
/etc/profile--that's why I wasn't getting PYTHONSTARTUP, even when I
didn't use --plain. Moving my export PYTHONSTARTUP line to
/etc/bash.bashrc worked.
So the issue now is that shell --plain doesn't use PYTHONSTARTUP,
which both Deryck and
Done. Except that I should have used a pre-formatted block for the
test output, so it looks really awful. Sorry about that.
On Nov 18, 2007 11:18 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
>
> On Sun, 2007-11-18 at 22:54 -0500, Todd O'Bryan wrote:
> > I've been playing with the Django
OK. I think the problem is solved. I missed a possible error that
could have been (and was) raised. The new patch also separates logic
for determining if there are any INSTALLED_APPS and if there's a
project directory, since it's conceivable (as in the tests) that one
could be set, but not the oth
14 matches
Mail list logo