mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
small docstring changes
This commit is contained in:
parent
93a1bf165d
commit
b74826c4d0
@ -1,5 +1,4 @@
|
||||
"""
|
||||
The InvenTree module provides high-level management and functionality.
|
||||
"""The InvenTree module provides high-level management and functionality.
|
||||
|
||||
It provides a number of helper functions and generic classes which are used by InvenTree apps.
|
||||
"""
|
||||
|
@ -46,6 +46,7 @@ class StockAPITestCase(InvenTreeAPITestCase):
|
||||
|
||||
class StockLocationTest(StockAPITestCase):
|
||||
"""Series of API tests for the StockLocation API."""
|
||||
|
||||
list_url = reverse('api-location-list')
|
||||
|
||||
def setUp(self):
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""Unit tests for Stock views (see views.py)"""
|
||||
"""Unit tests for Stock views (see views.py)."""
|
||||
|
||||
from django.urls import reverse
|
||||
|
||||
|
@ -20,6 +20,7 @@ from .models import StockItem, StockItemTracking, StockLocation
|
||||
|
||||
class StockIndex(InvenTreeRoleMixin, InvenTreePluginViewMixin, ListView):
|
||||
"""StockIndex view loads all StockLocation and StockItem object."""
|
||||
|
||||
model = StockItem
|
||||
template_name = 'stock/location.html'
|
||||
context_obect_name = 'locations'
|
||||
|
Loading…
Reference in New Issue
Block a user