From 02a219db25034d839b55a0aa456e4b70ae2f32ec Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 14 Jun 2021 20:41:23 +0300 Subject: Import local_settings last --- servo/management/commands/importparts.py | 1 + 1 file changed, 1 insertion(+) (limited to 'servo/management/commands/importparts.py') diff --git a/servo/management/commands/importparts.py b/servo/management/commands/importparts.py index 8909773..099a0e5 100644 --- a/servo/management/commands/importparts.py +++ b/servo/management/commands/importparts.py @@ -20,6 +20,7 @@ from django.contrib.contenttypes.models import ContentType from servo.models import Product, TaggedItem + def import_parts(parts, **options): content_type = ContentType.objects.get(model="product") -- cgit v1.2.3