Developed initially for the DES SL group to handle list of candidates for follow up, but can handle any list of objects
$ git clone https://github.com/linea-it/masterlist.git
$ cd masterlist
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
masterlist/candidates/templates
masterlist/candidates/models.py
to customize the columns of your table, once you changed the model$ python manage.py makemigrations
$ python manage.py migrate
$ python update_masterlist.py <input file>
$ python update_master.py -h
usage: update_masterlist.py [-h] [-t] [-b] [-i I]
description: update the masterlist by adding a list of objects from an input
file.
optional arguments:
-h, --help show this help message and exit
-t, --test test appending a list
-b, --backup create a backup of the masterlist only
-i I, --input I input file name
ra, dec, data_season, rank