Add in MUI and stepper component #47

Merged
danalambert merged 12 commits from dana/add-react-wizard into main 2021-10-14 11:30:41 +13:00
2 changed files with 11 additions and 0 deletions
Showing only changes of commit b699e50754 - Show all commits

View file

@ -1,3 +1,4 @@
Django==3.2.8
psycopg2-binary>=2.8
djangorestframework==3.12.4
django-cors-headers==3.10.0

View file

@ -39,6 +39,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'rest_framework',
'corsheaders',
'right_tree.api',
]
@ -51,6 +52,7 @@ MIDDLEWARE = [
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'corsheaders.middleware.CorsMiddleware',
]
ROOT_URLCONF = 'right_tree.urls'
@ -131,3 +133,11 @@ STATIC_URL = '/static/'
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
CORS_ALLOWED_ORIGINS = [
'http://localhost:3000' # Update this for production
]
CORS_ALLOW_HEADERS = [
'access-control-allow-origin'
]