Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix CodeClimate warnings
Jon Lawrence4050dc99a86a
diff --git a/saleor/checkout/forms.py b/saleor/checkout/forms.pyindex e6c133a74a..4bd5d22a1e 100644--- a/saleor/checkout/forms.py+++ b/saleor/checkout/forms.py@@ -116,6 +116,6 @@ class AnonymousUserBillingForm(forms.Form):class NoteForm(forms.Form):- """ Form to add a note to an order as it is+ """ Form to add a note to an order as it iscreated for shop staff to see """note = forms.CharField(max_length=250, required=False)diff --git a/saleor/order/models.py b/saleor/order/models.pyindex 3fe74ed8f1..500f6cb6a2 100644--- a/saleor/order/models.py+++ b/saleor/order/models.py@@ -359,7 +359,7 @@ class OrderHistoryEntry(models.Model):class OrderNote(models.Model):user = models.ForeignKey(- settings.AUTH_USER_MODEL, blank=True, null=True,+ settings.AUTH_USER_MODEL, blank=True, null=True,on_delete=models.SET_NULL)date = models.DateTimeField(auto_now_add=True)order = models.ForeignKey(