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
radiopanik
panikdb
Commits
9497c469
Commit
9497c469
authored
Aug 30, 2013
by
fred
Browse files
load-from-spip: fix adding tags to new episodes
parent
f543cd1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikdb/emissions/management/commands/load-from-spip.py
View file @
9497c469
...
...
@@ -411,11 +411,11 @@ class Command(BaseCommand):
self
.
set_image
(
episode
,
image_path
)
episode
.
save
()
for
motcle
in
article
.
mots_cles
:
episode
.
tags
.
add
(
motcle
.
lower
())
episode
.
save
()
if
not
Diffusion
.
objects
.
filter
(
episode
=
episode
).
count
():
diffusion
=
Diffusion
()
diffusion
.
episode
=
episode
...
...
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