mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-16 09:18:10 +00:00
Add metadata view for ParamterTemplate
This commit is contained in:
@@ -1172,11 +1172,18 @@ common_api_urls = [
|
|||||||
path(
|
path(
|
||||||
'<int:pk>/',
|
'<int:pk>/',
|
||||||
include([
|
include([
|
||||||
|
path(
|
||||||
|
'metadata/',
|
||||||
|
MetadataView.as_view(
|
||||||
|
model=common.models.ParameterTemplate
|
||||||
|
),
|
||||||
|
name='api-parameter-template-metadata',
|
||||||
|
),
|
||||||
path(
|
path(
|
||||||
'',
|
'',
|
||||||
ParameterTemplateDetail.as_view(),
|
ParameterTemplateDetail.as_view(),
|
||||||
name='api-parameter-template-detail',
|
name='api-parameter-template-detail',
|
||||||
)
|
),
|
||||||
]),
|
]),
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
|
|||||||
Reference in New Issue
Block a user