initial commit. displays simple hierarchy and lists of models. includes fixtures for initial data.
This commit is contained in:
15
events/templates/events/schedule.html
Normal file
15
events/templates/events/schedule.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% load bootstrap5 %}
|
||||
{% bootstrap_css %}
|
||||
{% bootstrap_javascript %}
|
||||
|
||||
<Title>Schedule</Title>
|
||||
<h1>Schedule</h1>
|
||||
<ol>
|
||||
{% for event in events %}
|
||||
<li>
|
||||
{{ event.away_team.name }} vs. {{ event.home_team.name }} <br>
|
||||
{{ event.start|date:"l, F j, Y g:i A" }} <br>
|
||||
{{ event.venue.name }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
Reference in New Issue
Block a user