Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] CommandError: Unknown command: 'create_pg_db' #35

Open
Avin-Techv opened this issue Apr 30, 2021 · 0 comments
Open

[ERROR] CommandError: Unknown command: 'create_pg_db' #35

Avin-Techv opened this issue Apr 30, 2021 · 0 comments

Comments

@Avin-Techv
Copy link

I followed the tutorial on https://romandc.com/zappa-django-guide/walk_database/
and pip installed the package, added the value to installed zappa, configured the aws aurora postgres then when I do

zappa manage project_name create_pg_db

I get

[ERROR] CommandError: Unknown command: 'create_pg_db'
Traceback (most recent call last):
  File "/var/task/handler.py", line 609, in lambda_handler
    return LambdaHandler.lambda_handler(event, context)
  File "/var/task/handler.py", line 243, in lambda_handler
    return handler.handler(event, context)
  File "/var/task/handler.py", line 408, in handler
    management.call_command(*event['manage'].split(' '))
  File "/var/task/django/core/management/init.py", line 105, in call_command
    raise CommandError("Unknown command: %r" % command_name)[END]

did I miss anything, what can I do to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant