Remove print statements from admin and add query.py
Add pads to get_date_intervals