Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thalia
concrexit
Commits
f0cbd8b2
Commit
f0cbd8b2
authored
Dec 05, 2016
by
Luuk Scholten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make committees active by default during migration
parent
9b32c30b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
website/members/management/commands/migratemembers.py
website/members/management/commands/migratemembers.py
+2
-0
No files found.
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
Markdown
is supported
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