alter asset add and detail

pull/530/head
wangyong 8 years ago
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…
Cancel
Save