Re: RequestContext not working?

2006-05-26 Thread Andreas Neumeier
Did you overwrite TEMPLATE_CONTEXT_PROCESSORS ? >I made the mistake once, because I didn't knew this variable is filled >by default. You have to write something like: > >TEMPLATE_CONTEXT_PROCESSORS = >DEFAULT.TEMPLATE_CONTEXT_PROCESSORS + >('my.preprocessor',) > >Took me some time to figure out w

Re: RequestContext not working?

2006-05-17 Thread Andreas Neumeier
[EMAIL PROTECTED] schrieb: > Isn't this just a mysql libs in php vs libs in mysqldb issue? > Died silently with a blank page until i switched to postgresql. > Or recompile php correctly yourself. I'm not quite sure about the meaning here: why should I compile php _at_all_? :-) -- Andreas lovebo

Re: RequestContext not working?

2006-05-16 Thread Andreas Neumeier
Adrian Holovaty schrieb: > Does the problem happen on both the Django development server and mod_python? Actually, this didn't come to my mind before, but I tried it just now and the development server is working What could be the issue there? -- Andreas lovebox.ath.cx --~--~-~--~

Re: RequestContext not working?

2006-05-16 Thread Daniel Poelzleithner
Andreas Neumeier wrote: > It looks like RequestContext just dies silently, but I couldn't tell > you for sure. > > I also figured out, there is another installation (rev. 2893 on Ubuntu > Dapper), which looks that it works perfectly. rev 2917 on Breezy seams > to fail for some reason i cannot de

Re: RequestContext not working?

2006-05-16 Thread [EMAIL PROTECTED]
Isn't this just a mysql libs in php vs libs in mysqldb issue? Died silently with a blank page until i switched to postgresql. Or recompile php correctly yourself. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: RequestContext not working?

2006-05-16 Thread Adrian Holovaty
On 5/16/06, Andreas Neumeier <[EMAIL PROTECTED]> wrote: > It looks like RequestContext just dies silently, but I couldn't tell > you for sure. > > I also figured out, there is another installation (rev. 2893 on Ubuntu > Dapper), which looks that it works perfectly. rev 2917 on Breezy seams > to fa

Re: RequestContext not working?

2006-05-16 Thread Andreas Neumeier
Well, thats exactly my problem :) There is no access.log entry, no error.log entry and a blank page outputted... Debug is set to ON It looks like RequestContext just dies silently, but I couldn't tell you for sure. I also figured out, there is another installation (rev. 2893 on Ubuntu Dapper),

Re: RequestContext not working?

2006-05-16 Thread Adrian Holovaty
On 5/16/06, Andreas Neumeier <[EMAIL PROTECTED]> wrote: > --- cut --- > from django.template import Context, RequestContext > from django.core import template_loader > from django.http import HttpResponse > > def index(request): > t = template_loader.get_template('portal/index.html') > c = Req

RequestContext not working?

2006-05-16 Thread Andreas Neumeier
I just created a new djangorpoject, with a moraless empty view, which looks like that: --- cut --- from django.template import Context, RequestContext from django.core import template_loader from django.http import HttpResponse def index(request): t = template_loader.get_template('portal/index