mirror of
https://github.com/veops/cmdb.git
synced 2025-08-12 07:06:26 +08:00
[update] delete roles, users, attributes
This commit is contained in:
@@ -75,9 +75,9 @@ class AutoDiscoveryRuleTemplateFileView(APIView):
|
||||
|
||||
return self.send_file(bf,
|
||||
as_attachment=True,
|
||||
attachment_filename="cmdb_auto_discovery.json",
|
||||
download_name="cmdb_auto_discovery.json",
|
||||
mimetype='application/json',
|
||||
cache_timeout=0)
|
||||
max_age=0)
|
||||
|
||||
def post(self):
|
||||
f = request.files.get('file')
|
||||
|
Reference in New Issue
Block a user