Ticket #1059: views-debug-offbyone.diff

File views-debug-offbyone.diff, 453 bytes (added by Matt McClanahan, 19 years ago)
  • debug.py

     
    308308    </tr>
    309309    <tr>
    310310      <th>Exception Location:</th>
    311       <td>{{ lastframe.filename }} in {{ lastframe.function }}, line {{ lastframe.lineno }}</td>
     311      <td>{{ lastframe.filename }} in {{ lastframe.function }}, line {{ lastframe.lineno|add:"1" }}</td>
    312312    </tr>
    313313  </table>
    314314</div>
Back to Top