This commit is contained in:
Raffu Khondaker 2020-06-16 23:10:52 -04:00
parent b3d05d236b
commit 51d6ed1175
3 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Student(models.Model):
class Assignment(models.Model):
owner = models.ForeignKey(User, null=True, blank=True, related_name='aowner', on_delete=models.CASCADE)
name=models.CharField(max_length=100, primary_key=True)
due_date=models.DateTimeField()
due_date=models.CharField(max_length=100, default="", blank=True)
# files = models.ManyToManyField(DefFiles)
files=models.CharField(max_length=100, default="", blank=True)
path=models.CharField(max_length=100, default="", blank=True)

View File

@ -114,3 +114,6 @@ OR::
? Add Students): 2) Add list of students through path
File must be .txt and have 1 student username per line
Relative Path: students.txt
Adding an assignment
-------