mirror of
https://github.com/Rushilwiz/SkoolOS.git
synced 2025-04-10 23:40:18 -04:00
working
This commit is contained in:
parent
699dd72b24
commit
3aa22a6542
|
@ -1 +0,0 @@
|
|||
{"username": "2022rkhondak", "grade": 10, "is_student": true, "password": "hackgroup1"}
|
1
.2023rumaretiprofile
Normal file
1
.2023rumaretiprofile
Normal file
|
@ -0,0 +1 @@
|
|||
{"username": "2023rumareti", "grade": 9, "is_student": true, "password": "a"}
|
|
@ -1 +0,0 @@
|
|||
{"username": "eharris1", "is_student": false, "password": "hackgroup1"}
|
1
.sstern1profile
Normal file
1
.sstern1profile
Normal file
|
@ -0,0 +1 @@
|
|||
{"username": "sstern1", "is_student": false, "password": "Riya2011"}
|
1
2023rumareti
Submodule
1
2023rumareti
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ca356ef8532873bf52ec67a647fbb91a25ca1cb7
|
|
@ -8,6 +8,7 @@ class Student(models.Model):
|
|||
user = models.OneToOneField(User, blank=True, on_delete=models.CASCADE)
|
||||
ion_user = models.CharField(max_length=100, primary_key=True)
|
||||
grade = models.IntegerField(default=0, blank=True)
|
||||
log = models.TextField(default="", blank=True)
|
||||
git=models.CharField(default="", max_length=100, blank=True)
|
||||
repo=models.URLField(default="", blank=True)
|
||||
classes=models.CharField(max_length=100, default="", blank=True)
|
||||
|
|
|
@ -152,6 +152,12 @@ def createClassHelper(request):
|
|||
messages.success(request, cleaned_data['subject'].capitalize() + " has been created!")
|
||||
print (newClass)
|
||||
teacher.classes.add(newClass)
|
||||
for student in newClass.unconfirmed.all():
|
||||
if student.added_to == "":
|
||||
student.added_to = newClass.name
|
||||
else:
|
||||
student.added_to = student.added_to + "," + newClass.name
|
||||
student.save()
|
||||
return redirect('home')
|
||||
else:
|
||||
classForm = ClassCreationForm()
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
.. SkoolOS documentation master file, created by
|
||||
sphinx-quickstart on Tue Jun 16 11:22:02 2020.
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
Welcome to SkoolOS's documentation!
|
||||
===================================
|
||||
|
|
|
@ -456,7 +456,7 @@ def authenticate():
|
|||
#Linux: chromdriver-linux
|
||||
#Macos: chromdriver-mac
|
||||
#Windows: chromdriver.exe
|
||||
path = os.path.join(os.getcwd(),'chromedriver','chromedriver-mac')
|
||||
path = os.path.join(os.getcwd(),'chromedriver','chromedriver-linux')
|
||||
|
||||
browser = webdriver.Chrome(path)
|
||||
|
||||
|
|
1
sstern1/Students/wow4_sstern1/2023rumareti
Submodule
1
sstern1/Students/wow4_sstern1/2023rumareti
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ca356ef8532873bf52ec67a647fbb91a25ca1cb7
|
Loading…
Reference in New Issue
Block a user