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
f0cbd8b2
Commit
f0cbd8b2
authored
Dec 05, 2016
by
Luuk Scholten
Browse files
Make committees active by default during migration
parent
9b32c30b
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/members/management/commands/migratemembers.py
View file @
f0cbd8b2
...
...
@@ -69,6 +69,8 @@ class Command(BaseCommand):
obj
,
cr
=
Committee
.
objects
.
get_or_create
(
name_nl
=
committee
[
'name'
])
obj
.
name_en
=
committee
[
'name'
]
# Committees are active by default
obj
.
active
=
True
print
(
obj
.
name_en
)
groups
[
committee
[
'gID'
]]
=
obj
obj
.
save
()
...
...
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