Commit e3acfe24 authored by Sumawang, Tee Jay Jr. C.'s avatar Sumawang, Tee Jay Jr. C.

final pycache commit

parents 28f6def2 08525fe5
from django.contrib import admin from django.contrib import admin
from .models import Announcement
# Register your models here. # Register your models here.
admin.site.register(Announcement)
\ No newline at end of file
# Generated by Django 3.2.12 on 2022-03-22 02:49 # Generated by Django 3.2.12 on 2022-03-22 03:52
from django.db import migrations, models from django.db import migrations, models
......
from django.db import models from django.db import models
# Create your models here. # Create your models here.
class Announcement(models.Model):
announcement_title = models.CharField(max_length=50)
announcement_body = models.CharField(max_length=500)
pub_date = models.DateTimeField("date published")
def __str__(self):
return self.announcement_title
\ No newline at end of file
...@@ -35,6 +35,8 @@ ALLOWED_HOSTS = [] ...@@ -35,6 +35,8 @@ ALLOWED_HOSTS = []
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'announcements.apps.AnnouncementsConfig',
'forum.apps.ForumConfig',
'homepage.apps.HomepageConfig', 'homepage.apps.HomepageConfig',
'assignments.apps.AssignmentsConfig', 'assignments.apps.AssignmentsConfig',
'django.contrib.admin', '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