fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix test.
[redakcja.git]
/
apps
/
catalogue
/
management
/
commands
/
assign_from_redmine.py
diff --git
a/apps/catalogue/management/commands/assign_from_redmine.py
b/apps/catalogue/management/commands/assign_from_redmine.py
index
9f7b12d
..
31bdc14
100644
(file)
--- a/
apps/catalogue/management/commands/assign_from_redmine.py
+++ b/
apps/catalogue/management/commands/assign_from_redmine.py
@@
-12,7
+12,7
@@
from django.core.management.base import BaseCommand
from django.core.management.color import color_style
from django.db import transaction
from django.core.management.color import color_style
from django.db import transaction
-from slug
hifi import slughifi
+from slug
ify import slugify
from catalogue.models import Chunk
from catalogue.models import Chunk
@@
-91,7
+91,7
@@
class Command(BaseCommand):
if fname.endswith('.xml'):
fname = fname[:-4]
fname = fname.replace(' ', '_')
if fname.endswith('.xml'):
fname = fname[:-4]
fname = fname.replace(' ', '_')
- fname = slug
hifi
(fname)
+ fname = slug
ify
(fname)
chunks = Chunk.objects.filter(book__slug=fname)
if not chunks:
chunks = Chunk.objects.filter(book__slug=fname)
if not chunks: