from django.template import RequestContext, Context
from eventmanager.decorators import enable_login_form
from eventmanager.forms import InscreverPalestra, CadastroPalestrante
from django.template import RequestContext, Context
from eventmanager.decorators import enable_login_form
from eventmanager.forms import InscreverPalestra, CadastroPalestrante
- return render_to_response('index.html',
+ news = Noticia.objects.order_by('-data_criacao')
+ c = Context({'news': news})
+ return render_to_response('index.html', c,