Examples of how to use django-filter with django rest framework.
- Have Postgres running via docker or your machine
- docker
docker-compose up -d
- docker
- Setup python development with poetry. Read more at https://python-poetry.org/
- Once poetry is installed. Install dependency packages
poetry install
- Once poetry is installed. Install dependency packages
- Create database tables
python manage.py migrate
- Start the server
python manage.py runserver
- Load initial data
python manage.py load_initial_data
- Open browser and go to http://localhost:8000/admin/
- Login as testuser
username testuser password 1234