aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-15 15:01:40 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-15 15:01:40 +0300
commit08155df685f2d52cee1ec3ef0761e794f36a1bc6 (patch)
tree90713457be7c78a5f76a1a53f785d2866c3556a4 /servo/views
parent3af675351bbc1c2a8a652049d12e7b699744d730 (diff)
downloadServo-08155df685f2d52cee1ec3ef0761e794f36a1bc6.tar.gz
Servo-08155df685f2d52cee1ec3ef0761e794f36a1bc6.tar.bz2
Servo-08155df685f2d52cee1ec3ef0761e794f36a1bc6.zip
Fix adding device tags
Diffstat (limited to 'servo/views')
-rw-r--r--servo/views/device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/views/device.py b/servo/views/device.py
index 0eda090..6436730 100644
--- a/servo/views/device.py
+++ b/servo/views/device.py
@@ -146,8 +146,8 @@ def edit_device(request, pk=None, product_line=None, model=None):
if form.is_valid():
device = form.save()
- messages.success(request, _(u"%s saved") % device.description)
device.add_tags(request.POST.getlist('tag'))
+ messages.success(request, _(u"%s saved") % device.description)
return redirect(view_device,
pk=device.pk,