Conversation
auto create mess card
mittal-ishaan
left a comment
There was a problem hiding this comment.
few suggestions, but we can discuss on these after we go through the design once
|
|
||
|
|
||
| class MessCard(models.Model): | ||
| id = models.UUIDField( |
There was a problem hiding this comment.
check this https://github.com/pshrmn/notes/blob/master/django/models.md#primary-keys
maybe we might not need id
There was a problem hiding this comment.
It's important as anyone can generate an QR with a ID if its like Integer (1, 2, 3....)
Anyone can generate these numbers by guessing but by using this method nobody can do that
There was a problem hiding this comment.
lets discuss on this.
|
Right now: Caterer scans QR -> card validation done by portal -> card entry saved and student can eat |
* qr code user view * Static files fix * enhance * update * remove unncessary code * Basic QR code app * qr scan with revbate check * Added comments and docstrings and improved the logic * get mess cards added auto create mess card * Update migrations * Fixed bugs * Some fixes * More details added
QR Code Scan Facility