Skip to content
Snippets Groups Projects
Commit 9c4788a1 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Use CSE as prefix for QRCodes

CSE makes it clearer that it's linked to CSEntry
parent 59dde65e
No related branches found
No related tags found
No related merge requests found
......@@ -148,11 +148,11 @@ class QRCodeMixin:
"""Return a QRCode image to identify a record
The QRCode includes:
- ICS prefix
- CSE prefix
- the table name
- the name of the record
"""
data = ':'.join(['ICS', self.__tablename__, self.name])
data = ':'.join(['CSE', self.__tablename__, self.name])
return qrcode.make(data, version=1, box_size=5)
def __str__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment