Parcourir la source

Fix commit 9814c00f (Allow editing VPN parameters)

Baptiste Jonglez il y a 10 ans
Parent
commit
020a485bef
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      coin/vpn/views.py

+ 1 - 1
coin/vpn/views.py

@@ -14,7 +14,7 @@ from coin.vpn.models import VPNConfiguration
 
 
 class VPNView(UpdateView):
-    model = VPNSubscription
+    model = VPNConfiguration
     fields = ['ipv4_endpoint', 'ipv6_endpoint', 'comment']
 
     @method_decorator(login_required)