I have a base.html that is a skeleton html document with this call to my 'simple' app added:

  {{ simple.saysomething }}

In mysite/apps/simple/views.py there is:

  from django.utils.httpwrappers import HttpResponse
  def saysomething(request):
    return HttpResponse("This is from the 'simple' app.")

And settings.py has:
  INSTALLED_APPS = ("mysite.apps.simple",)

But there appears to be no output from "saysomething". What am I missing?

Also, what is the best way to get debug output from Django? I tried a 'print' statement in 'saysomething' but it seemed to go nowhere.

Thanks,
Michael

Reply via email to