mirror of
https://github.com/lemeow125/Borrowing-TrackerBackend.git
synced 2024-11-16 22:09:27 +08:00
Remove brand from equipment name
This commit is contained in:
parent
e8524e1d45
commit
4a26f6ae3e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue