Commit ff03b938 authored by Joerell Frank Yee Lao's avatar Joerell Frank Yee Lao

Edited the assignments tab name from the admin pannel, from assignmentss to assignment

parent 609a3863
from django.contrib import admin
# Register your models here.
from .models import Assignments
from .models import Assignment
admin.site.register(Assignments)
admin.site.register(Assignment)
# Generated by Django 3.2.12 on 2022-03-22 10:09
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('assignments', '0002_alter_assignments_max_points'),
]
operations = [
migrations.RenameModel(
old_name='Assignments',
new_name='Assignment',
),
]
from django.db import models
# Create your models here.
class Assignments(models.Model):
class Assignment(models.Model):
name = models.CharField(max_length=50)
description = models.CharField(max_length=500)
max_points = models.IntegerField(default=0)
......
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