Changes between Initial Version and Version 4 of Ticket #6558


Ignore:
Timestamp:
Jun 23, 2008, 1:08:04 PM (16 years ago)
Author:
Ramiro Morales
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6558

    • Property Cc oliver@… added
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Need error message when inheriting from empty templateNeed a better error message when inheriting from empty template
  • Ticket #6558 – Description

    initial v4  
    99Here's the traceback. In my code, "base.html" is the template that says "hello".
    1010
     11{{{
    1112----
    12 
    13 
    1413
    1514Environment:
     
    3837   Caught an exception while rendering: list index out of range
    3938   1 :  {% extends "pubs/base.html" %}
    40 
    41 
    4239   2 :
    43 
    44 
    4540   3 : {% block middlecontent %}
    46 
    47 
    4841   4 : {% if venue_list %}
    49 
    50 
    5142   5 : <ul>
    52 
    53 
    5443   6 :   {% for venue in venue_list %}
    55 
    56 
    5744   7 :   <li>Featured at {{ venue }}</li>
    58 
    59 
    6045   8 :   <ul>
    61 
    62 
    6346   9 :     {% for pub in venue.pub_set.all %}
    64 
    65 
    6647   10 :     
    67 
    68 
    6948   11 :     <li><b>{{ pub.title }}</b>
    7049
     
    7857Exception Type: IndexError at /pubs/
    7958Exception Value: list index out of range
    80 
     59}}}
Back to Top