mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-18 03:10:18 -04:00
n
This commit is contained in:
parent
b3d05d236b
commit
51d6ed1175
|
@ -25,7 +25,7 @@ class Student(models.Model):
|
||||||
class Assignment(models.Model):
|
class Assignment(models.Model):
|
||||||
owner = models.ForeignKey(User, null=True, blank=True, related_name='aowner', on_delete=models.CASCADE)
|
owner = models.ForeignKey(User, null=True, blank=True, related_name='aowner', on_delete=models.CASCADE)
|
||||||
name=models.CharField(max_length=100, primary_key=True)
|
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.ManyToManyField(DefFiles)
|
||||||
files=models.CharField(max_length=100, default="", blank=True)
|
files=models.CharField(max_length=100, default="", blank=True)
|
||||||
path=models.CharField(max_length=100, default="", blank=True)
|
path=models.CharField(max_length=100, default="", blank=True)
|
||||||
|
|
|
@ -114,3 +114,6 @@ OR::
|
||||||
? Add Students): 2) Add list of students through path
|
? Add Students): 2) Add list of students through path
|
||||||
File must be .txt and have 1 student username per line
|
File must be .txt and have 1 student username per line
|
||||||
Relative Path: students.txt
|
Relative Path: students.txt
|
||||||
|
|
||||||
|
Adding an assignment
|
||||||
|
-------
|
||||||
|
|
0
eharris1/Truck_eharris1/Assignment1/README.md
Normal file
0
eharris1/Truck_eharris1/Assignment1/README.md
Normal file
Loading…
Reference in New Issue
Block a user