Verified Commit 5bdb05db authored by Peter Stanko's avatar Peter Stanko
Browse files

Add course status to project definition

parent fc83fca6
...@@ -2,7 +2,7 @@ from datetime import datetime ...@@ -2,7 +2,7 @@ from datetime import datetime
from typing import Dict, List from typing import Dict, List
import marshmallow import marshmallow
from portal.database import Course, Group, Project, Role from portal.database import Course, Group, Project, Role, ProjectConfig
from portal.service.general import GeneralService from portal.service.general import GeneralService
...@@ -210,7 +210,7 @@ class ResourceDefinitionService(GeneralService): ...@@ -210,7 +210,7 @@ class ResourceDefinitionService(GeneralService):
@property @property
def _course_params(self) -> List[str]: def _course_params(self) -> List[str]:
params = ['codename', 'name', 'description', params = ['codename', 'name', 'description',
'notes_access_token', 'faculty_id'] 'notes_access_token', 'faculty_id', 'status']
return params return params
@property @property
......
Supports Markdown
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