From bc7f3f77dee4bfb5c921187a5943c5ff819fb809 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 4 May 2019 21:57:43 +1000 Subject: [PATCH] PEPEP --- InvenTree/part/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index cdd9247b13..8bc519d616 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -33,7 +33,7 @@ class PartCategory(InvenTreeTree): default_location = models.ForeignKey( 'stock.StockLocation', related_name="default_categories", null=True, blank=True, - on_delete = models.SET_NULL, + on_delete=models.SET_NULL, help_text='Default location for parts in this category' ) @@ -153,7 +153,7 @@ class Part(models.Model): If the Part does not specify a default location, look at the Category this part is in. - The PartCategory object may also specify a default stock location + The PartCategory object may also specify a default stock location """ if self.default_location: