Python compatibility¶
Django 2.2 supports Python 3.5, 3.6, and 3.7. We highly recommend and only officially support the latest release of each series.
def post(self, request):
form = PhotoForm(self.request.POST, self.request.FILES)
def post(self, request):
form = PhotoForm(request.POST, request.FILES)
d = dict(zip(reversed(b[0]), reversed(a[1])))
for i in sorted(d, key=d.get):
print(i, d[i])
2. А что тебе мешает формировать словарь в таком стиле