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.html')
  c = RequestContext(request)
  return HttpResponse(t.render(c))
--- cut ---

This is not working at all.

If I replace c = RequestContext(request) with c = Context(), the
rendered template appears...

This makes authentication impossible, I guess....?

Im using django current, rev 2917.

Regards,

Andreas
http://lovebox.ath.cx


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to