From 4a26f6ae3e1dee047d8eb6b97971fa5da29ad12c Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sun, 14 Jan 2024 20:13:19 +0800 Subject: [PATCH] Remove brand from equipment name --- equipment_tracker/equipments/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equipment_tracker/equipments/models.py b/equipment_tracker/equipments/models.py index fe7fa45..dc14018 100644 --- a/equipment_tracker/equipments/models.py +++ b/equipment_tracker/equipments/models.py @@ -80,7 +80,7 @@ def create_superuser(sender, **kwargs): # Get equipment information category = filename.split('-')[0] - name = row[2] + ' ' + row[1] + name = row[1] # If quantity is missing, set value as 0 if (row[3] == ''): available = 0