mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 01:45:27 +00:00
alter asset add and detail
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user