2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 21:20:56 +00:00
This commit is contained in:
Oliver Walters
2017-03-28 23:25:38 +11:00
parent a5009147c3
commit c111aaf9b2
5 changed files with 19 additions and 14 deletions

View File

@ -3,10 +3,12 @@ from django.http import HttpResponse
from .models import Warehouse, StockItem
def index(request):
warehouses = Warehouse.objects.filter(parent = None)
warehouses = Warehouse.objects.filter(parent=None)
return render(request, 'stock/index.html',
{'warehouses': warehouses
})
}
)