{% load static %} {% comment %} USB HID barcode scanner support. Included automatically by auction_ribbon.html on every auction admin page, and directly by pages that are also open to club permission_add_edit users (who don't see the ribbon's admin block). Safe to include more than once: the config assignment and the JS module both guard against re-initialization, and the first include on the page wins. Context: auction -- required; nothing renders without auction.club_id barcode_scanner_prefix -- optional prefix keystroke the scanner sends before each barcode (a KeyboardEvent.key value; default "F9") barcode_check_in_only -- optional; True on the self check-in kiosk to restrict scans to membership cards only barcode_lot_scan_url -- optional; when set (the Lot queue page) scanned lot QR codes are posted here to build the queue instead of being treated as member cards {% endcomment %} {% if auction.club_id %} {% endif %}