Combine Django Model With Csv File And Loop
I finally manage to show csv file within html and also bind with django model but I am missing a for loop but couldn't make it work. if request.method == 'POST' and request
Solution 1:
you need to loop while appending the file:
for instance in FP.objects.filter(FP_Item=query):
instances.append(instance)
Post a Comment for "Combine Django Model With Csv File And Loop"