TareqAshraf / django-bank

0 stars 0 forks source link

Add Bank model, views, serializer, and tests #4

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

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:

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.