1.2
This commit is contained in:
parent
5614a714bc
commit
e741fe47b1
Binary file not shown.
@ -33,6 +33,7 @@ def upload_inventory(request):
|
|||||||
# Skip header row
|
# Skip header row
|
||||||
next(reader)
|
next(reader)
|
||||||
for row in reader:
|
for row in reader:
|
||||||
|
if row and len(row) == 3:
|
||||||
print(f"Processing row: {row}")
|
print(f"Processing row: {row}")
|
||||||
Application.objects.create(
|
Application.objects.create(
|
||||||
name=row[0],
|
name=row[0],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user