Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
radiopanik
panikdb
Commits
9497c469
Commit
9497c469
authored
Aug 30, 2013
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
load-from-spip: fix adding tags to new episodes
parent
f543cd1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
panikdb/emissions/management/commands/load-from-spip.py
panikdb/emissions/management/commands/load-from-spip.py
+2
-2
No files found.
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
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