Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
88b1edef
Commit
88b1edef
authored
Jun 13, 2017
by
Okhin
Browse files
Fixing a 500 on get_default_website
parent
aee4778b
Pipeline
#1137
passed with stages
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
picampaign/organization/serializers.py
View file @
88b1edef
...
...
@@ -33,5 +33,5 @@ class OrganizationSerializer(serializers.ModelSerializer):
def
get_logo
(
self
,
obj
):
if
obj
.
logo
:
return
get_current_site
+
obj
.
logo
.
url
return
get_current_site
()
+
obj
.
logo
.
url
return
None
Write
Preview
Supports
Markdown
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