aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views/admin.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-17 20:49:00 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-17 20:49:00 +0300
commit3418ece690ca90d676a7d8ae654da7770ae312fb (patch)
tree5daa04838cda0e85da32865fde42b14f310a2627 /servo/views/admin.py
parent3421b809f432ee49586df91b627ef70aa3e07cbf (diff)
downloadServo-master.tar.gz
Servo-master.tar.bz2
Servo-master.zip
Add print options for tech nameHEADmaster
Diffstat (limited to 'servo/views/admin.py')
-rw-r--r--servo/views/admin.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/servo/views/admin.py b/servo/views/admin.py
index 5d1da4a..4f32829 100644
--- a/servo/views/admin.py
+++ b/servo/views/admin.py
@@ -224,14 +224,6 @@ def settings(request):
p.set_exchange_sales_price()
p.save()
- # formset = ShippingMethodFormset(request.POST)
-
- # if not formset.is_valid():
- # messages.error(request, _('Error in shipping method settings'))
- # return render(request, 'admin/settings.html', locals())
-
- # formset.save()
-
messages.success(request, _('Settings saved'))
return redirect(settings)