aboutsummaryrefslogtreecommitdiffstats
path: root/servo/management/commands/importparts.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-14 20:41:23 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-14 20:41:23 +0300
commit02a219db25034d839b55a0aa456e4b70ae2f32ec (patch)
tree3e65d2b2e27b31628747e2c3e863160d38a53539 /servo/management/commands/importparts.py
parent4b2d491c2908ec6b677fe494547774bf7d323cb5 (diff)
downloadServo-02a219db25034d839b55a0aa456e4b70ae2f32ec.tar.gz
Servo-02a219db25034d839b55a0aa456e4b70ae2f32ec.tar.bz2
Servo-02a219db25034d839b55a0aa456e4b70ae2f32ec.zip
Import local_settings last
Diffstat (limited to 'servo/management/commands/importparts.py')
-rw-r--r--servo/management/commands/importparts.py1
1 files changed, 1 insertions, 0 deletions
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")