> editing django/utils/translation/__init__.py
yea looks like that was the problem, all the fixes in rev #12875
sorted the problem
and everything still works in the latest trunk #12882
thanks Russ!

Thanks Graham, I saw that blog post earlier but haven't had time to
read it, I should have time tomorrow.... :-)

On Mar 29, 4:33 am, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> On Mar 29, 10:48 am, Russell Keith-Magee <freakboy3...@gmail.com>
> wrote:
>
>
>
> > On Mon, Mar 29, 2010 at 12:40 AM, nih <steven.bisse...@googlemail.com> 
> > wrote:
> > > oops sorry, typo in the last paragraph :(
>
> > > It only crashes for me with apache, mod_wsgi, new project (no views/
> > > models/etc), finished project, and rev # 12866+.
>
> > > They all work normally with the dev server and rev # 12866+, so that
> > > pretty much rules out any of my
> > > code causing it. It could of course be some dodgy settings, no idea
> > > what though...
>
> > Thanks, Steven
>
> > By way of experimentation; can you try editing
> > django/utils/translation/__init__.py, and moving line 4 (the call to
> > "from django.conf import settings" to line 31 (i.e. - make the import
> > of settings the first statement in delayed_loader, rather than a
> > module level import)?
>
> As a separate line of investigation and a validation of some stuff I
> have separately been working on related to stuff not working under
> Apache/mod_wsgi, can OP try the alternate WSGI script file described
> at the end of my rambling post at:
>
>  http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
>
> One of the things that alternate WSGI script will hopefully solve is
> the unpredictability resulting from not having initialised Django
> settings properly before a request is actually handled.
>
> Graham

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to