Closed Ziheng-Wang closed 4 years ago
Some problems I found in new Models:
One suggestion for model design: In order to check the logic error in models, write a fake API function with fake data in view.py and try to call it with postman.
In models.py, we have two models EventCodeAccess and Events. Should we make some connection between these two models?
In models.py, we have two models EventCodeAccess and Events. Should we make some connection between these two models?
Good point, I think we should do some change to the current Events data model, I will add "enabled" attribute to it.
This pull & request is for new change of database model.