yf_ymm 5 rokov pred
rodič
commit
9eebfa355f
2 zmenil súbory, kde vykonal 14 pridanie a 2 odobranie
  1. 5 1
      apps/Equipment/urls.py
  2. 9 1
      apps/Equipment/views.py

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 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