List Info

Thread: Re: Django Filebrowser with FastCGI




Re: Django Filebrowser with FastCGI
user name
2008-02-24 04:35:35
hi stephane,

i´ve never used the filebrowser with fastcgi. not sure
whether this is
a django or a filebrowser-issue.
maybe someone with more experience using fastcgi has an idea
...

patrick

On Feb 23, 3:12 pm, Rufman <stephaneru...gmail.com> wrote:
> Hey Guys
>
> I'm using the django filebrowser (http://code.google.c
om/p/django-
> filebrowser/) for my django site. When I run it on my
local server
> using Apache and mod_python I don't have any problems.
But when I
> attempt to use the filebrowser through fastcgi I get
the error global
> ' _' not defined. I'm relatively new to django and
python, but I found
> out that the variable '_' holds the last not None
result (in the
> python interactive interpreter).
>
> Any help/ideas are welcome ...thanks
>
> Stephane
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Django Filebrowser with FastCGI
user name
2008-02-24 07:37:21
I think, In a lot of old code, _ was automatically imported
as
ugettext, while the newer code explicitly imports it as
from django.utils.translation import ugettext_lazy as _
Might be when you are running fastcgi, you are hitting some
path
where, _ is not imported, while under mod_python, you are
hitting
paths where they are defined.

(All this is just a guess.)

On Feb 24, 3:35 pm, patrickk <patr...vonautomatisch.at> wrote:
> hi stephane,
>
> i´ve never used the filebrowser with fastcgi. not sure
whether this is
> a django or a filebrowser-issue.
> maybe someone with more experience using fastcgi has an
idea ...
>
> patrick
>
> On Feb 23, 3:12 pm, Rufman <stephaneru...gmail.com> wrote:
>
> > Hey Guys
>
> > I'm using the django filebrowser (http://code.google.c
om/p/django-
> > filebrowser/) for my django site. When I run it on
my local server
> > using Apache and mod_python I don't have any
problems. But when I
> > attempt to use the filebrowser through fastcgi I
get the error global
> > ' _' not defined. I'm relatively new to django and
python, but I found
> > out that the variable '_' holds the last not None
result (in the
> > python interactive interpreter).
>
> > Any help/ideas are welcome ...thanks
>
> > Stephane
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )