Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Backend
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
swp-unisport
team-warumkeinrust
Backend
Commits
85440d58
Commit
85440d58
authored
3 years ago
by
borzechof99
Browse files
Options
Downloads
Patches
Plain Diff
Add image saving to activities
parent
dc8a6ceb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unisportomat/quiz/models.py
+2
-0
2 additions, 0 deletions
unisportomat/quiz/models.py
with
2 additions
and
0 deletions
unisportomat/quiz/models.py
+
2
−
0
View file @
85440d58
...
...
@@ -193,6 +193,8 @@ class CallToMove(models.Model):
self
.
image
.
delete
()
self
.
image
=
None
self
.
image
=
new_image
class
KnowledgeSnack
(
models
.
Model
):
"""
Defines text and image that are used to show a KnowledgeSnack between questions
"""
...
...
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