from inspections.models import Inspection, INSPECTION_RESULT_CONFIG def inspection_constants(request): return { 'INSPECTION_RESULT_CONFIG': INSPECTION_RESULT_CONFIG, 'INSPECTION_RESULT_CHOICES_CONFIG': Inspection.get_result_choices_config(), }