Skip to content

Utilities

chmarr edited this page Nov 26, 2012 · 2 revisions

Utilities are in the "artshow-utils" directory, separate from the Django "artshow" application for pure convenience. Since the utilities frequently use the artshow models, PYTHONPATH and DJANGO_SETTINGS_MODULE both need to be set appropriately.

All utilities designed to be run from the command line have a --help option which will print help on using the command, so that information is not repeated here.

overgrid.py

Reads a PDF file and generates a new file with a 0.1 inch grid (with thicker lines at 1.0 inch intervals) overlayed. Useful for determining the locations of text boxes for the bidsheet-printing features.

integrate_reg_db.py

This is designed for the Further Confusion convention, but can be used as a template to create one to work for you. This is designed to integrate the information from the Registration Database (as a CSV file) into the Artshow database by matching up registration IDs. Not yet updated for the new peeps.Person model.

Clone this wiki locally