Fix regular expresion on migrate_attachments script.
parent
8df1b2a799
commit
ced000b109
|
@ -16,7 +16,7 @@ class Command(BaseCommand):
|
||||||
help = "Parses all objects and try replace old attachments url with one new"
|
help = "Parses all objects and try replace old attachments url with one new"
|
||||||
|
|
||||||
|
|
||||||
trx = r"((?:https?)://api-taiga\.kaleidos\.net/attachments/(\d+)/[^\s]+)"
|
trx = r"((?:https?)://api-taiga\.kaleidos\.net/attachments/(\d+)/[^\s\"]+)"
|
||||||
|
|
||||||
@transaction.atomic
|
@transaction.atomic
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
|
|
Loading…
Reference in New Issue