2011-10-20 03:28:36 +00:00
|
|
|
from celery.decorators import task
|
|
|
|
|
|
|
|
from regluit.core import bookloader
|
|
|
|
|
|
|
|
@task
|
|
|
|
def add_related(isbn):
|
2011-10-20 05:23:30 +00:00
|
|
|
return bookloader.add_related(isbn)
|
2011-10-20 03:28:36 +00:00
|
|
|
|
|
|
|
@task
|
|
|
|
def add_by_isbn(isbn):
|
2011-10-20 05:23:30 +00:00
|
|
|
return bookloader.add_by_isbn(isbn)
|