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
6dce20b6
Commit
6dce20b6
authored
Sep 11, 2016
by
Sébastiaan Versteeg
Browse files
Fix migration script and PEP error
parent
a489bf1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/activemembers/admin.py
View file @
6dce20b6
from
django.contrib
import
admin
from
utils.translation
import
TranslatedModelAdmin
from
django.conf
import
settings
from
.
import
models
...
...
website/activemembers/migrations/0010_auto_20160911_1434.py
View file @
6dce20b6
...
...
@@ -41,15 +41,13 @@ class Migration(migrations.Migration):
migrations
.
AddField
(
model_name
=
'committee'
,
name
=
'description_en'
,
field
=
models
.
CharField
(
default
=
''
,
max_length
=
40
,
unique
=
True
,
verbose_name
=
'Description (EN)'
),
field
=
models
.
TextField
(
default
=
''
,
verbose_name
=
'Description (EN)'
),
preserve_default
=
False
,
),
migrations
.
AlterField
(
model_name
=
'committee'
,
name
=
'description_nl'
,
field
=
models
.
CharField
(
max_length
=
40
,
unique
=
True
,
verbose_name
=
'Description (NL)'
),
field
=
models
.
TextField
(
verbose_name
=
'Description (NL)'
),
preserve_default
=
True
,
),
migrations
.
RunPython
(
forwards_func
,
reverse_func
),
...
...
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