2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 01:36:29 +00:00

Added edit views for stock

- StockItem
- StockLocation
This commit is contained in:
Oliver
2018-04-15 23:27:56 +10:00
parent 3c844fc77f
commit 55b533d3ef
18 changed files with 168 additions and 22 deletions

View File

@@ -68,7 +68,7 @@ ROOT_URLCONF = 'InvenTree.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
@@ -81,6 +81,8 @@ TEMPLATES = [
},
]
print(os.path.join(BASE_DIR, 'templates'))
REST_FRAMEWORK = {
'EXCEPTION_HANDLER': 'InvenTree.utils.api_exception_handler'
}