I have this error :
TemplateDoesNotExist at /
selecto/index.html
from :
-------setting.py
TEMPLATE_DIRS = (
'/home/marco/test_/test/selecto/')
------selecto/view.py
def index(request):
list = Evento.objects.all().order_by('-data')[:5]
t = loader.get_template('selecto/index.html')
c = Context({
'list': list,
})
return HttpResponse(t.render(c))
the index.html is like the sample of the tutorial
where I am wrong ?
Thanks for help me !
I am a newbie of django and I learn alots of thinks about web programming whit him ! thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@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-users
-~----------~----~----~----~------~----~------~--~---