This PR adds the Bank model, views, serializer, and tests to the Django bank system. The Bank model represents a bank entity in the system and has a one-to-many relationship with the LoanCustomer and LoanProvider models. The views allow for the creation, retrieval, updating, and deletion of banks. The serializer ensures proper serialization and deserialization of Bank objects. The tests cover the functionality of the Bank model and views.
Summary of Changes
Added Bank model to models.py
Added views for Bank model to views.py
Added serializer for Bank model to serializers.py
Added tests for Bank model and views to tests.py
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-bank-model
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds the Bank model, views, serializer, and tests to the Django bank system. The Bank model represents a bank entity in the system and has a one-to-many relationship with the LoanCustomer and LoanProvider models. The views allow for the creation, retrieval, updating, and deletion of banks. The serializer ensures proper serialization and deserialization of Bank objects. The tests cover the functionality of the Bank model and views.
Summary of Changes
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.