Skip to content

Run Avis in a Django Project

Start from an existing Django project.

Terminal window
cd my-django-project
avis

Add Django REST Framework:

Terminal window
avis add django-rest-framework

Review the ChangePlan before confirming. Avis may install djangorestframework using the detected Python package manager and patch the detected Django settings module to include rest_framework.

Verify:

Terminal window
avis doctor

Avis itself should not be added to requirements.txt, pyproject.toml, or the Django virtual environment as an application dependency.