mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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"
|
||||
|
||||
|
||||
@api_view()
|
||||
def Inventree404(self):
|
||||
""" Supplied URL is invalid
|
||||
@ -14,6 +15,7 @@ def Inventree404(self):
|
||||
content = {'detail': 'Malformed API URL'}
|
||||
return Response(content, status=status.HTTP_404_NOT_FOUND)
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^stock/', include('stock.urls')),
|
||||
url(r'^part/', include('part.urls')),
|
||||
|
Loading…
Reference in New Issue
Block a user