Adding and Removing Apps¶
Your auth project is just a regular Django project - you can add in other Django apps as desired. Most come with dedicated setup guides, but here is the general procedure:
add
'appname',
to yourINSTALLED_APPS
setting inlocal.py
run
python manage.py migrate
run
python manage.py collectstatic
restart AA with
supervisorctl restart myauth:
If you ever want to remove an app, you should first clear it from the database to avoid dangling foreign keys: python manage.py migrate appname zero
. Then you can remove it from your auth project’s INSTALLED_APPS
list.