I doesnt undestand this error :

Type error at /
'module' object is not callable
       Request Method:       GET
       Request URL:       http://127.0.0.1:8000/
       Exception Type:       TypeError
       Exception Value:       'module' object is not callable
       Exception Location:
/home/marco/test_/test../test/selecto/views.py in index,
line 18


but the line 18 .. is :


def index(request):
                   list = Evento.objects.all().order_by('-data')[:5]
                   t = loader.get_template('index.html')
   ---->        c = context({'list': list,})
                   return HttpResponse(t.render(c))


ps: in the tutorial contex is writed Contex whit the C

thanks

MA.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to