diff --git a/install.sh b/install.sh index c2d3504..8e8b07c 100755 --- a/install.sh +++ b/install.sh @@ -224,6 +224,8 @@ cd $CWD install_banner "Initial config for Osmedeus" python3 server/manage.py makemigrations python3 server/manage.py migrate +python3 server/manage.py makemigrations api +python3 server/manage.py migrate api mkdir -p ~/.osmedeus 2> /dev/null python3 scripts/init.py echo -e "\033[1;32m[+] Installing done... \033[1;37m" diff --git a/server/rest/settings.py b/server/rest/settings.py index ef3341f..dd1ff10 100644 --- a/server/rest/settings.py +++ b/server/rest/settings.py @@ -140,7 +140,7 @@ REST_FRAMEWORK = { 'rest_framework_simplejwt.authentication.JWTAuthentication', ], ## @NOTE enable this when go live - 'EXCEPTION_HANDLER': 'rest.exception.custom_exception_handler', + # 'EXCEPTION_HANDLER': 'rest.exception.custom_exception_handler', }