mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-16 17:56:30 +00:00
Added PartCategory
- Parent can be null (top-level category) - Parent can be other PartCategory
This commit is contained in:
@@ -37,6 +37,8 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
|
||||
'part.apps.PartConfig'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
@@ -13,9 +13,10 @@ Including another URLconf
|
||||
1. Import the include() function: from django.conf.urls import url, include
|
||||
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.conf.urls import url
|
||||
from django.conf.urls import url, include
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^part/', include('part.urls')),
|
||||
url(r'^admin/', admin.site.urls),
|
||||
]
|
||||
|
Reference in New Issue
Block a user