Commit a1e8b1cf authored by Rajo Christian Cadorna's avatar Rajo Christian Cadorna

Added Courses to Assignment App, Linked Assignments to Courses, and Added Assignment Template

parents 0e828f7a 8b18c0ae
from django.contrib import admin
# Register your models here.
from .models import Post
admin.site.register(Post)
# Generated by Django 4.0.3 on 2022-03-22 09:19
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Post',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('post_title', models.CharField(max_length=50)),
('post_body', models.CharField(max_length=500)),
('pub_date', models.DateTimeField(verbose_name='date published')),
],
),
]
from django.db import models
# Create your models here.
class Post(models.Model):
post_title = models.CharField(max_length=50)
post_body = models.CharField(max_length=500)
pub_date = models.DateTimeField("date published")
\ No newline at end of file
......@@ -3,4 +3,5 @@ Justin Daniel Mendoza - Homepage
Rupert Joseph Gonzales - Announcements
Eugene Ezekiel Tan - Forum
Rajo Christian Cadorna - Assignments
URL for youtube vid = https://youtu.be/D3NRIhvud-g
\ No newline at end of file
URL for youtube vid lab 1 = https://youtu.be/D3NRIhvud-g
URL for youtube vid lab 2 = https://youtu.be/MLXM2wRBLJc
\ No newline at end of file
from django.contrib import admin
# Register your models here.
from .models import Announcement
admin.site.register(Announcement)
\ No newline at end of file
# Generated by Django 4.0.3 on 2022-03-23 10:32
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Announcement',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('announcement_title', models.CharField(max_length=50)),
('announcement_body', models.CharField(max_length=500)),
('pub_date', models.DateTimeField(verbose_name='date published')),
],
),
]
# Generated by Django 3.2.12 on 2022-03-23 10:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('announcements', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='announcement',
name='announcement_body',
field=models.CharField(max_length=400),
),
]
from django.db import models
# Create your models here.
class Announcement(models.Model):
announcement_title = models.CharField(max_length=50)
announcement_body = models.CharField(max_length=400)
pub_date = models.DateTimeField("date published")
No preview for this file type
......@@ -35,6 +35,7 @@ ALLOWED_HOSTS = []
INSTALLED_APPS = [
'homepage.apps.HomepageConfig',
'announcements.apps.AnnouncementsConfig',
'Forum.apps.ForumConfig',
'assignments.apps.AssignmentsConfig',
'django.contrib.admin',
......
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