I'm trying to deploy an application built on Django on a Ubuntu 10 Server with mod_wsgi and Apache. When I try to access certain views, I get a 200 response with no content from the server. These are the views that work and dont work:
def this_works(request):
return render_to_response('admin/index.html')
def this_also_works(request):
return HttpResponse(loader.render_to_string('admin/index.html'))
def this_doesnt_work(request):
return SimpleTemplateResponse(Template('Example text'))
Besides this, the admin site and the login view don't work either. The application works perfectly with Django's runserver.
I´d greatly appreciate any help.