修复合并后的冲突
This commit is contained in:
1 parent
31bb8590ad
commit
31b9367a87
1 file changed
+1
-1
+1
-1
@@ -11,4 +11,4 @@ class AdminTemplateView(APIView):
|
||||
try:
|
||||
return HttpResponse(open(path).read(), content_type="text/html")
|
||||
except IOError:
|
||||
raise Http404
|
||||
raise HttpResponse(u"模板不存在", content_type="text/html")
|
||||
Reference in new issue
Block a user