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
thalia
concrexit
Commits
9842db78
Commit
9842db78
authored
Feb 13, 2019
by
Thijs de Jong
Browse files
Cleaned some Code
parent
9f0f9085
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/activemembers/models.py
View file @
9842db78
...
...
@@ -129,9 +129,10 @@ class MemberGroup(models.Model, metaclass=ModelTranslateMeta):
try
:
return
self
.
committee
.
get_absolute_url
()
except
self
.
DoesNotExist
:
return
self
.
society
.
get_absolute_url
()
except
self
.
DoesNotExist
:
pass
try
:
return
self
.
society
.
get_absolute_url
()
except
self
.
DoesNotExist
:
pass
class
Meta
:
verbose_name
=
_
(
'member group'
)
...
...
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