moving tons of stuff around
This commit is contained in:
BIN
beta-0.1.15.zip
Normal file
BIN
beta-0.1.15.zip
Normal file
Binary file not shown.
7933
plant_db.sql
Normal file
7933
plant_db.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
# expose the upload helper at package level to avoid
|
||||
# circular imports between media.routes and utility.routes
|
||||
|
||||
from .routes import _process_upload_file
|
||||
|
||||
__all__ = ['_process_upload_file']
|
||||
|
@ -142,4 +142,4 @@ def init_media_tasks(celery_app):
|
||||
Called by the JSON‐driven loader so tasks_init no longer errors.
|
||||
Celery scheduling is handled via on_after_configure.
|
||||
"""
|
||||
celery_app.logger.info("[Media] init_media_tasks called (no‐op)")
|
||||
celery_app.log.get_default_logger().info("[Media] init_media_tasks no-op")
|
||||
|
@ -35,7 +35,7 @@ from plugins.plant.models import (
|
||||
)
|
||||
from plugins.media.models import Media
|
||||
from plugins.utility.models import ImportBatch
|
||||
from plugins.utility.tasks import import_text_data
|
||||
from plugins.media import _process_upload_file
|
||||
|
||||
bp = Blueprint(
|
||||
'utility',
|
||||
|
Reference in New Issue
Block a user