typo
This commit is contained in:
parent
ca7741f92c
commit
40edf9dd4a
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ def extract_fulltext(id):
|
||||||
|
|
||||||
|
|
||||||
@task(queue='default')
|
@task(queue='default')
|
||||||
def builk_edit(data, username):
|
def bulk_edit(data, username):
|
||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
from . import models
|
from . import models
|
||||||
from item.models import Item
|
from item.models import Item
|
||||||
|
|
|
@ -133,7 +133,7 @@ def editDocument(request, data):
|
||||||
if data['id']:
|
if data['id']:
|
||||||
if isinstance(data['id'], list):
|
if isinstance(data['id'], list):
|
||||||
add_changelog(request, data)
|
add_changelog(request, data)
|
||||||
t = tasks.builk_edit.delay(data, request.user.username)
|
t = tasks.bulk_edit.delay(data, request.user.username)
|
||||||
response['data']['taskId'] = t.task_id
|
response['data']['taskId'] = t.task_id
|
||||||
else:
|
else:
|
||||||
document = models.Document.get(data['id'])
|
document = models.Document.get(data['id'])
|
||||||
|
|
Loading…
Reference in a new issue