Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Alsijil
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Alsijil
Commits
fade3b24
Verified
Commit
fade3b24
authored
4 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Add support for group notes
parent
e096d125
No related branches found
No related tags found
1 merge request
!65
Resolve "Add support for group notes"
Pipeline
#3029
passed
4 years ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/alsijil/forms.py
+1
-1
1 addition, 1 deletion
aleksis/apps/alsijil/forms.py
aleksis/apps/alsijil/models.py
+1
-0
1 addition, 0 deletions
aleksis/apps/alsijil/models.py
with
2 additions
and
1 deletion
aleksis/apps/alsijil/forms.py
+
1
−
1
View file @
fade3b24
...
@@ -17,7 +17,7 @@ from .models import LessonDocumentation, PersonalNote, PersonalNoteFilter
...
@@ -17,7 +17,7 @@ from .models import LessonDocumentation, PersonalNote, PersonalNoteFilter
class
LessonDocumentationForm
(
forms
.
ModelForm
):
class
LessonDocumentationForm
(
forms
.
ModelForm
):
class
Meta
:
class
Meta
:
model
=
LessonDocumentation
model
=
LessonDocumentation
fields
=
[
"
topic
"
,
"
homework
"
]
fields
=
[
"
topic
"
,
"
homework
"
,
"
group_note
"
]
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
().
__init__
(
*
args
,
**
kwargs
)
super
().
__init__
(
*
args
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/alsijil/models.py
+
1
−
0
View file @
fade3b24
...
@@ -57,6 +57,7 @@ class LessonDocumentation(ExtensibleModel):
...
@@ -57,6 +57,7 @@ class LessonDocumentation(ExtensibleModel):
topic
=
models
.
CharField
(
verbose_name
=
_
(
"
Lesson topic
"
),
max_length
=
200
,
blank
=
True
)
topic
=
models
.
CharField
(
verbose_name
=
_
(
"
Lesson topic
"
),
max_length
=
200
,
blank
=
True
)
homework
=
models
.
CharField
(
verbose_name
=
_
(
"
Homework
"
),
max_length
=
200
,
blank
=
True
)
homework
=
models
.
CharField
(
verbose_name
=
_
(
"
Homework
"
),
max_length
=
200
,
blank
=
True
)
group_note
=
models
.
CharField
(
verbose_name
=
_
(
"
Group note
"
),
max_length
=
200
,
blank
=
True
)
class
Meta
:
class
Meta
:
verbose_name
=
_
(
"
Lesson documentation
"
)
verbose_name
=
_
(
"
Lesson documentation
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment