Allow using custom Camera
Problem
I would like to use a custom Camera class to do some custom logic. Currently I'm not able to override the default one on the command line, because the parameter is always reset to djcelery.snapshot.Camera.
Solution
Allow to use a custom camera by using the -c or --camera parameter. Fallback to default if not passed.
I'm more than happy to add tests to cover this case if you are able to suggest where should that be.
there is flake errors to be fixed.
Indeed. Let me fix that.
at present no tests for management commands exists. you could create new ones
Hi, @centralniak.
manage.py celerycam is basically a shortcut for manage.py celery events -c djcelery.snapshot.Camera. So maybe using manage.py celery events -c your.custom.Camera would solve your problem?