2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 17:56:30 +00:00

Added REST framework

- /part/ URL is now a JSON api
This commit is contained in:
Oliver Walters
2017-03-28 22:12:02 +11:00
parent 457d72a3e4
commit 7bcea2f3ac
4 changed files with 51 additions and 29 deletions

View File

@@ -31,6 +31,9 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'rest_framework',
# Core django modules
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
@@ -38,6 +41,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
# InvenTree apps
'part.apps.PartConfig',
'project.apps.ProjectConfig',
'stock.apps.StockConfig',