Move duplicate schema endpoint (#7595)

* move duplicate endpoint

* fix link
This commit is contained in:
Matthias Mair 2024-07-09 10:47:15 +02:00 committed by GitHub
parent e943c5a686
commit fd42b2fbf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -1,12 +1,15 @@
"""InvenTree API version information."""
# InvenTree API version
INVENTREE_API_VERSION = 215
INVENTREE_API_VERSION = 216
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
INVENTREE_API_TEXT = """
v216 - 2024-07-08 : https://github.com/inventree/InvenTree/pull/7595
- Moves API endpoint for contenttype lookup by model name
v215 - 2024-07-09 : https://github.com/inventree/InvenTree/pull/7591
- Adds additional fields to the BuildLine serializer

View File

@ -950,7 +950,7 @@ common_api_urls = [
'<int:pk>/', ContentTypeDetail.as_view(), name='api-contenttype-detail'
),
path(
'<str:model>/',
'model/<str:model>/',
ContentTypeModelDetail.as_view(),
name='api-contenttype-detail-modelname',
),