mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-09-26 11:34:55 +02:00
Fix migrate on django models
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user