后台 admin 模板样式优化
This commit is contained in:
1 parent
b1a935a894
commit
01b13bf823
2 files changed
+27
-8
No files matched your search
+1
-1
@@ -11,4 +11,4 @@ class AdminTemplateView(APIView):
|
||||
try:
|
||||
return HttpResponse(open(path).read(), content_type="text/html")
|
||||
except IOError:
|
||||
raise Http404
|
||||
return HttpResponse(u"模板不存在", content_type="text/html")
|
||||
Reference in new issue
Block a user