Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Kontr 2.0
Portal API Backend
Commits
5bdb05db
Verified
Commit
5bdb05db
authored
Apr 15, 2019
by
Peter Stanko
Browse files
Add course status to project definition
parent
fc83fca6
Changes
1
Show whitespace changes
Inline
Side-by-side
portal/service/resource_definition.py
View file @
5bdb05db
...
...
@@ -2,7 +2,7 @@ from datetime import datetime
from
typing
import
Dict
,
List
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
...
...
@@ -210,7 +210,7 @@ class ResourceDefinitionService(GeneralService):
@property
def
_course_params
(
self
)
->
List
[
str
]:
params
=
[
'codename'
,
'name'
,
'description'
,
'notes_access_token'
,
'faculty_id'
]
'notes_access_token'
,
'faculty_id'
,
'status'
]
return
params
@property
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment