Populated models with instances and implemented widget_calendar views.py for...

Populated models with instances and implemented widget_calendar views.py for outputing model instances
parent d7060978
# Generated by Django 4.1.6 on 2023-03-04 17:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('widget_calendar', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='event',
name='target_datetime',
field=models.CharField(max_length=50),
),
]
<p>Widget's Calendar of Activities<br></p> <p>Widget's Calendar of Activities<br><br></p>
<ul> {% for event in events %}
{% for event in events %} <p>
<p> Date and Time: {{ event.target_datetime }}<br>
Date and Time: {{ event.target_datetime }}<br> Activity: {{ event.activity }}<br>
Activity: {{ event.activity }}<br> Estimated Hours: {{ event.estimated_hours }}<br>
Estimated Hours: {{ event.estimated_hours }}<br> Course/Section: {{ event.course }}<br>
Course/Section: {{ event.course }}<br> Mode: {{ event.location.mode }}<br>
Mode: {{ event.location.mode }}<br> Venue: {{ event.location.venue }}
Venue: {{ event.location.venue }}<br> </p>
</p> {% endfor %}
{% endfor %}
</ul>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment