43e03ed023
Update unit tests
2021-02-01 12:26:58 +11:00
97140b19ba
Limit barcode hash to printable characters.
...
This is a dirty filthy hack, as the web-input strips non printable chars when they are typed in (but will accept them if they are copy-pasted)
2021-01-31 21:45:34 +11:00
0f42916521
Improve settings.py
...
- Load database config from either config.yaml or environment variables
- Mix and match, if you want!
- Move to use logging module rather than just printing stuff
- Error if required database parameters are not required
2020-11-13 13:38:01 +11:00
beccbe8583
Flake fixes
2020-06-11 19:46:36 +10:00
0559946791
Add unit testing framework for barcodes
2020-06-11 14:44:56 +10:00
22a8e82108
Add endpoint for assigning a particular barcode to a StockItem
2020-06-11 12:21:33 +10:00
1a15b46d65
Remove some debug statements
2020-06-11 11:14:02 +10:00
0068cd9825
Refactor barcode endoint
...
- Moved code into 'barcode' directory
2020-06-11 11:09:07 +10:00