Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses-legacy
Commits
f3279997
Commit
f3279997
authored
Apr 28, 2019
by
Bruno Martin
Browse files
compatibility with django>2
parent
890228d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
courses_legacy/core/serializers.py
courses_legacy/core/serializers.py
+1
-1
No files found.
courses_legacy/core/serializers.py
View file @
f3279997
...
...
@@ -448,7 +448,7 @@ class LessonSerializer(serializers.ModelSerializer):
activity
.
unit
=
unit
activity
.
save
()
activities
.
append
(
activity
)
unit
.
activities
=
activities
unit
.
activities
.
set
(
activities
)
units
.
append
(
unit
)
return
units
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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