aboutsummaryrefslogtreecommitdiffstats
path: root/servo/forms/devices.py
diff options
context:
space:
mode:
Diffstat (limited to 'servo/forms/devices.py')
-rw-r--r--servo/forms/devices.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/forms/devices.py b/servo/forms/devices.py
index 8a451cf..e3c1dae 100644
--- a/servo/forms/devices.py
+++ b/servo/forms/devices.py
@@ -32,7 +32,7 @@ class DeviceSearchForm(forms.Form):
widget=DatepickerInput(attrs={'class': 'input-small'})
)
sn = forms.CharField(required=False, label=_('Serial number contains'))
-
+
def __init__(self, *args, **kwargs):
super(DeviceSearchForm, self).__init__(*args, **kwargs)
self.fields['description'] = AutocompleteCharField(
@@ -47,7 +47,7 @@ class DeviceForm(forms.ModelForm):
class Meta:
model = Device
exclude = ('spec', 'customers', 'files', 'image_url',
- 'exploded_view_url', 'manual_url',)
+ 'exploded_view_url', 'manual_url', )
widgets = {'purchased_on': DatepickerInput()}
tags = forms.ModelMultipleChoiceField(