mirror of https://github.com/jumpserver/jumpserver
alter asset add and detail
parent
b95c1deee1
commit
343f139904
|
@ -33,7 +33,6 @@ class AssetCreateView(AdminUserRequiredMixin, CreateView):
|
||||||
context = super(AssetCreateView, self).get_context_data(**kwargs)
|
context = super(AssetCreateView, self).get_context_data(**kwargs)
|
||||||
context.update({'admin_users': AdminUser.objects.all()})
|
context.update({'admin_users': AdminUser.objects.all()})
|
||||||
assert isinstance(context, object)
|
assert isinstance(context, object)
|
||||||
print(context)
|
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue