mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
Style fixes
This commit is contained in:
parent
9064b23cd8
commit
fe52610fcc
@ -7,6 +7,7 @@ from rest_framework.decorators import api_view
|
|||||||
|
|
||||||
admin.site.site_header = "InvenTree Admin"
|
admin.site.site_header = "InvenTree Admin"
|
||||||
|
|
||||||
|
|
||||||
@api_view()
|
@api_view()
|
||||||
def Inventree404(self):
|
def Inventree404(self):
|
||||||
""" Supplied URL is invalid
|
""" Supplied URL is invalid
|
||||||
@ -14,6 +15,7 @@ def Inventree404(self):
|
|||||||
content = {'detail': 'Malformed API URL'}
|
content = {'detail': 'Malformed API URL'}
|
||||||
return Response(content, status=status.HTTP_404_NOT_FOUND)
|
return Response(content, status=status.HTTP_404_NOT_FOUND)
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^stock/', include('stock.urls')),
|
url(r'^stock/', include('stock.urls')),
|
||||||
url(r'^part/', include('part.urls')),
|
url(r'^part/', include('part.urls')),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user