2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Added skeleton for 'build' app

This commit is contained in:
Oliver
2018-04-17 00:32:02 +10:00
parent 86b3092b5e
commit fa23767150
29 changed files with 267 additions and 477 deletions

View File

@ -85,9 +85,7 @@ part_urls = [
url(r'^bom/(?P<pk>\d+)/', include(part_bom_urls)),
# Top level part list (display top level parts and categories)
url('', views.PartIndex.as_view(), name='part-index'),
url(r'^.*$', RedirectView.as_view(url='', permanent=False), name='part-index'),
url(r'^.*$', views.PartIndex.as_view(), name='part-index'),
]
"""

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import get_object_or_404
from django.http import HttpResponseRedirect