Enforce object creation permissions

This commit is contained in:
Jeremy Stretch
2019-10-01 16:54:10 -04:00
parent 7ac8f223ea
commit 3d2e535866
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()