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
41ad599f
Verified
Commit
41ad599f
authored
Sep 12, 2017
by
Sébastiaan Versteeg
Browse files
Set expiration_mail_sent in partners default to False
parent
b9a4d878
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/partners/migrations/0011_auto_20170912_2036.py
0 → 100644
View file @
41ad599f
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-12 18:36
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'partners'
,
'0010_vacancy_expiration_mail_sent'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'vacancy'
,
name
=
'expiration_mail_sent'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
]
website/partners/models.py
View file @
41ad599f
...
...
@@ -116,7 +116,7 @@ class Vacancy(models.Model):
categories
=
models
.
ManyToManyField
(
VacancyCategory
,
blank
=
True
)
expiration_date
=
models
.
DateField
(
null
=
True
,
blank
=
True
)
expiration_mail_sent
=
models
.
BooleanField
()
expiration_mail_sent
=
models
.
BooleanField
(
default
=
False
)
remarks
=
HTMLField
(
blank
=
True
,
help_text
=
_
(
'not shown on the page'
))
...
...
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