Browse Source

旅游编辑接口

yf_ymm 5 năm trước cách đây
mục cha
commit
9eebfa355f
2 tập tin đã thay đổi với 14 bổ sung2 xóa
  1. 5 1
      apps/Equipment/urls.py
  2. 9 1
      apps/Equipment/views.py

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 5 - 1
apps/Equipment/urls.py


+ 9 - 1
apps/Equipment/views.py

@@ -3809,4 +3809,12 @@ class Add_Relation(ListView):
         desc = request.POST.get('desc')
         pic = request.POST.get('pic')
         Relations.objects.create(name=name,relation=relation,pic=pic)
-        return HttpResponse("1")
+        return HttpResponse("1")
+    
+    
+
+class Add_Relation_List(ListView):
+    def get(self,request):
+        return render(request, 'backstageNet/systemSet/partnersList.html', context={})
+    def post(self, request):
+        pass