2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 07:24:15 +00:00

Further API improvements

This commit is contained in:
Oliver Walters
2017-04-14 12:14:50 +10:00
parent 6f9bf45e22
commit 2299cd0700
4 changed files with 32 additions and 8 deletions

View File

@ -55,6 +55,6 @@ urlpatterns = [
# Part templates
url(r'^templates/', include(parttemplatepatterns)),
# List of all parts
url(r'^$', views.PartList.as_view())
# List parts with optional filters
url(r'^\?*[^/]*/?$', views.PartList.as_view()),
]