- Aug 21, 2017
-
-
Benjamin Bertrand authored
Allow to easily pass config for testing
-
Benjamin Bertrand authored
- add build instruction to docker-compose.yml
-
- Aug 18, 2017
-
-
Benjamin Bertrand authored
-
- Aug 09, 2017
-
-
Benjamin Bertrand authored
The citext module provides a case-insensitive character string type. Use CIText for QRCodeMixin name column. name should be case-insensitive to avoid duplicate names.
-
- Jul 21, 2017
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
- We don't care about the id of the models. No need to force it. - Rename actions
-
- Jul 20, 2017
-
-
Benjamin Bertrand authored
Use the tablename instead instead of an abbreviation. The scanner client can thus directly get the name of the fields to use.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
- Jul 19, 2017
-
-
Benjamin Bertrand authored
The hash is supposed to be computed in the __init__ method of Item. But flask-admin never passes any parameter when creating the model class. The attributes are changed after creation. When creating an item in the admin view, we use the on_model_change method to update the hash. There might be a better way to avoid this code duplication. This works for now.
-
Benjamin Bertrand authored
- restrict admin view to admin users only - the models shall only take optional parameters for flask-admin to work - the models shall implement the __str__ method to be displayed properly in the admin view
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-