diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-06-17 20:49:00 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-06-17 20:49:00 +0300 |
commit | 3418ece690ca90d676a7d8ae654da7770ae312fb (patch) | |
tree | 5daa04838cda0e85da32865fde42b14f310a2627 /servo/views/admin.py | |
parent | 3421b809f432ee49586df91b627ef70aa3e07cbf (diff) | |
download | Servo-master.tar.gz Servo-master.tar.bz2 Servo-master.zip |
Diffstat (limited to 'servo/views/admin.py')
-rw-r--r-- | servo/views/admin.py | 8 |
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) |