Hi Alexei,
Yep, I'm running the command local to where the manage.py file is located (running the command just like any other python manage.py command with no dir in front of the command).
But -- I think you just identified the problem! I do not have a celery.py file within my-project folder besides the celery.py files in media/packages/arches. This is a project that has been migrated from 4.0 through the major versions over some time. So, maybe it never created the celery.py file during one of those migrations?
I jumped on another virtual machine and installed a brand new arches 5.1 project, and it did create a celery.py file with my project name as you pasted.
Just for reference, on my migrated project, running
find -iname celery.py
results in:
./[my-project]/[my-project]/media/packages/arches/arches/management/commands/celery.py
./[my-project]/[my-project]/media/packages/arches/arches/celery.py
./[my-project]/static/packages/arches/tests/fixtures/testing_prj/testing_prj/celery.py
./[my-project]/static/packages/arches/arches/management/commands/celery.py
./[my-project]/static/packages/arches/arches/celery.py
./env/lib/python3.7/site-packages/celery/bin/celery.py
./arches/tests/fixtures/testing_prj/testing_prj/celery.py
./arches/arches/management/commands/celery.py
./arches/arches/celery.py
So, should I just copy the contents of the celery.py file from the fresh project to my migrated project? And do you think this is an anomaly or a "feature" of migrating from much earlier versions? If the latter, should we add something to the docs to cover this?
Thank you for sticking with this,
Angela