Resolved error in namespace

parent 50d992a5
# Generated by Django 3.2 on 2023-05-13 07:22
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('forum', '0010_merge_20230513_1520'),
]
operations = [
migrations.AlterField(
model_name='forumpost',
name='pub_datetime',
field=models.DateTimeField(default=datetime.datetime(2023, 5, 13, 15, 22, 46, 71114), editable=False),
),
]
# Generated by Django 3.2 on 2023-05-13 07:23
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('forum', '0011_alter_forumpost_pub_datetime'),
]
operations = [
migrations.AlterField(
model_name='forumpost',
name='pub_datetime',
field=models.DateTimeField(default=datetime.datetime(2023, 5, 13, 15, 23, 18, 95700), editable=False),
),
]
# Generated by Django 3.2 on 2023-05-13 07:23
import datetime
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('assignments', '0008_remove_assignment_coursedropdown'),
]
operations = [
migrations.CreateModel(
name='Location',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('mode', models.CharField(default='', max_length=100)),
('venue', models.CharField(default='', max_length=100)),
],
),
migrations.CreateModel(
name='Event',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('target_datetime', models.DateTimeField(default=datetime.datetime(2023, 5, 13, 15, 23, 18, 97700))),
('activity', models.CharField(default='', max_length=100)),
('estimated_hours', models.FloatField(default=0)),
('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='assignments.course')),
('location', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='venues', to='widget_calendar.location')),
],
),
]
......@@ -23,7 +23,7 @@
<div id="footer">
<a href="{% url 'dashboard:index' %}">Dashboard</a>
<a href="{% url 'announcementBoard:index' %}">Announcement Board</a>
<a href="{% url 'announcements:index' %}">Announcement Board</a>
<a href="{% url 'forum:index' %}">Forum</a>
<a href="{% url 'assignments:homePage' %}">Assignments</a>
</div>
......
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