2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-03 22:08:49 +00:00

not a pep

This commit is contained in:
Oliver Walters 2017-03-28 23:44:32 +11:00
parent 433dc7b3e3
commit 1a875811b7
2 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class ProjectPart(models.Model):
""" A project part associates a single part with a project """ A project part associates a single part with a project
The quantity of parts required for a single-run of that project is stored. The quantity of parts required for a single-run of that project is stored.
The overage is the number of extra parts that are generally used for a single run. The overage is the number of extra parts that are generally used for a single run.
""" """
# Overage types # Overage types
OVERAGE_PERCENT = 0 OVERAGE_PERCENT = 0

View File

@ -9,5 +9,6 @@ def index(request):
warehouses = Warehouse.objects.filter(parent=None) warehouses = Warehouse.objects.filter(parent=None)
return render(request, 'stock/index.html', return render(request, 'stock/index.html',
{'warehouses': warehouses {
'warehouses': warehouses
}) })