Erro ao acessar pagina do aluno
FieldError at /student/20131234/ Cannot resolve keyword 'grr' into field. Choices are: id, nota, situacao, student, student_id, turma, turma_id Request Method: GET Request URL: http://localhost:8000/student/20131234/ Django Version: 1.7.5 Exception Type: FieldError Exception Value: Cannot resolve keyword 'grr' into field. Choices are: id, nota, situacao, student, student_id, turma, turma_id Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py in add_fields, line 1670 Python Executable: /usr/bin/python Python Version: 2.7.9 Python Path: ['/home/pet/adega', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7'] Server time: Qua, 30 Mar 2016 14:27:26 +0000
Traceback Switch to copy-and-paste view
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) ...
/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py in _wrapped_view
return view_func(request, *args, **kwargs) ...
/home/pet/adega/student/views.py in index
'indice_reprovacao' : calcularIndiceReprovacao(alunoTurmas), ...
/home/pet/adega/student/analysis.py in calcularIndiceReprovacao
for alunoTurma in alunoTurmas: ...