From a2c12146a7cdede40f3b91cbed487da45a149b61 Mon Sep 17 00:00:00 2001 From: Bertram Truong Date: Wed, 15 Mar 2023 18:15:05 +1100 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 48db0eb85..7f5f2bda5 100644 --- a/README.md +++ b/README.md @@ -452,6 +452,7 @@ You can also invoke interpretable Python 3.7/3.8/3.9 strings directly by using ` $ zappa invoke production "print(1 + 2 + 3)" --raw For instance, it can come in handy if you want to create your first `superuser` on a RDS database running in a VPC (like Serverless Aurora): + $ zappa invoke staging "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('username', 'email', 'password')" --raw ### Django Management Commands