mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Ignore some rules
This commit is contained in:
parent
29ab19d51d
commit
1ef81ecf2e
@ -58,7 +58,7 @@ class StockItemSerializer(serializers.ModelSerializer):
|
||||
- Includes serialization for the linked part
|
||||
- Includes serialization for the item location
|
||||
"""
|
||||
|
||||
|
||||
url = serializers.CharField(source='get_absolute_url', read_only=True)
|
||||
|
||||
part = PartBriefSerializer(many=False, read_only=True)
|
||||
|
@ -41,7 +41,7 @@ class StockLocationDetail(DetailView):
|
||||
"""
|
||||
Detailed view of a single StockLocation object
|
||||
"""
|
||||
|
||||
|
||||
context_object_name = 'location'
|
||||
template_name = 'stock/location.html'
|
||||
queryset = StockLocation.objects.all()
|
||||
|
Loading…
x
Reference in New Issue
Block a user