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
35a345a9
Verified
Commit
35a345a9
authored
May 23, 2019
by
Sébastiaan Versteeg
Browse files
Fix planned newsletters command
parent
44979b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/newsletters/management/commands/sendplannednewsletters.py
View file @
35a345a9
...
...
@@ -7,9 +7,6 @@ from newsletters.models import Newsletter
class
Command
(
BaseCommand
):
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'pk'
)
def
handle
(
self
,
*
args
,
**
options
):
newsletters
=
Newsletter
.
objects
.
filter
(
send_date__lte
=
timezone
.
now
(),
...
...
Thom Wiggers
📐
@twiggers
mentioned in commit
a097832c
·
May 26, 2019
mentioned in commit
a097832c
mentioned in commit a097832c0f89209e3a04b8ee540d600b186fe89a
Toggle commit list
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