-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qr Code #86
Qr Code #86
Conversation
auto create mess card
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets discuss on this.
Right now: Caterer scans QR -> card validation done by portal -> card entry saved and student can eat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work!
* 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