|
@@ -5,7 +5,7 @@ from django.contrib import admin
|
|
|
from polymorphic.admin import PolymorphicChildModelAdmin
|
|
|
|
|
|
from coin.vpn.models import VPNConfiguration
|
|
|
-from coin.configuration.admin import ConfigurationAdminFormMixin, IPSubnetInline
|
|
|
+from coin.configuration.admin import ConfigurationAdminFormMixin
|
|
|
from coin.utils import delete_selected
|
|
|
|
|
|
|
|
@@ -30,8 +30,6 @@ class VPNConfigurationAdmin(ConfigurationAdminFormMixin, PolymorphicChildModelAd
|
|
|
"generate_endpoints_v6", "activate", "deactivate")
|
|
|
exclude = ("password",)
|
|
|
inline = VPNConfigurationInline
|
|
|
- # TODO: this should be done in the generic configuration admin.
|
|
|
- inlines = (IPSubnetInline, )
|
|
|
|
|
|
def get_readonly_fields(self, request, obj=None):
|
|
|
if obj:
|