Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
ba58e5f6
Verified
Commit
ba58e5f6
authored
Oct 18, 2017
by
Sébastiaan Versteeg
Browse files
Fix profile save
parent
7e908c53
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/members/models.py
View file @
ba58e5f6
...
...
@@ -412,7 +412,7 @@ class Profile(models.Model):
raise
ValidationError
(
errors
)
def
save
(
self
,
*
args
,
**
kwargs
):
super
().
save
(
args
,
kwargs
)
super
().
save
(
*
args
,
**
kwargs
)
if
self
.
_orig_image
and
not
self
.
photo
:
try
:
...
...
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