But if you try to run it the following error appears:
python manage.py utils --help
Traceback (most recent call last):
File "manage.py", line 21, in <module>
main()
File "manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 257, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 40, in load_command_class
return module.Command()
AttributeError: module 'dj_cqrs.management.commands.utils' has no attribute 'Command'
if you try to get --help for django commands with installed django-cqrs the strange 'utils' command is in the list
But if you try to run it the following error appears:
Looks like the file https://github.com/cloudblue/django-cqrs/blob/master/dj_cqrs/management/commands/utils.py should be moved somewhere out of the /commands folder