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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user