Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add comment to overriding plugins in populatedb

IKarbowiak900fe8a14a97
diff --git a/saleor/core/management/commands/populatedb.py b/saleor/core/management/commands/populatedb.py
index ebaa73496f..2ff7d38dfc 100644
--- a/saleor/core/management/commands/populatedb.py
+++ b/saleor/core/management/commands/populatedb.py
@@ -86,6 +86,8 @@ class Command(BaseCommand):
cursor.execute(commands.getvalue())
def handle(self, *args, **options):
+ # set only our custom plugin to not call external API when preparing
+ # example database
settings.PLUGINS = [
"saleor.payment.gateways.dummy.plugin.DummyGatewayPlugin",
"saleor.payment.gateways.dummy_credit_card.plugin."