|
|
@@ -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
|