1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Enforce object creation permissions

This commit is contained in:
Jeremy Stretch
2019-10-01 16:54:10 -04:00
parent 88d61db384
commit 6892b79366
3 changed files with 12 additions and 4 deletions

View File

@@ -406,9 +406,6 @@ class ObjectImportView(GetReturnURLMixin, View):
related_object_forms = dict()
template_name = 'utilities/obj_import.html'
def create_object(self, data):
raise NotImplementedError("View must implement object creation logic")
def get(self, request):
form = ImportForm()