Commits

Spencer Herzberg committed 8758f16

fixing invalid html closing of tag

  • Participants
  • Parent commits 2eb2c4d

Comments (0)

Files changed (3)

 *.pyc
 *.*~
+*.db

File reporting/templates/reporting/list.html

 {% block breadcrumbs %}
 <div class="breadcrumbs">
      <a href="/admin/">{% trans "Home" %}</a> &rsaquo;
-     Reports 
-
+     Reports
 </div>
 {% endblock %}
 
 
-
 {% block content %}
-  <div id="content-main">
+<div id="content-main">
     {% block object-tools %}{% endblock %}
     
-    <div id="changelist">
-
-		<H2>Reports</H2>
+	<div id="changelist">
+		<h2>Reports</h2>
       
-      <div id="changelist"
-			{% for slug, report in reports %}
-				<a href="{% url reporting-view slug %}">{{report.verbose_name}}</a><br>
-			{% endfor %}
-	  </div>
-    </div>
-  </div>
+		<div id="changelist">
+		{% for slug, report in reports %}
+			<a href="{% url reporting-view slug %}">{{report.verbose_name}}</a>
+		{% endfor %}
+		</div>
+    	</div>
+</div>
 {% endblock %}

File samples/people_example/people/reports.py

     date_hierarchy = 'birth_date' # the same as django-admin
 
 
-reporting.register('people', PersonReport) # Do not forget to 'register' your class in reports
+reporting.register('people', PersonReport) # Do not forget to 'register' your class in reports